Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 165.4 kB / 24.87 MB, free: 9.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9961/0.9961, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.729/1.729, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35e-05/1.492e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1271/0.1271, allocations: 146.7 MB / 0.9316 GB, free: 9.051 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.005169/0.1323, allocations: 3.153 MB / 0.9346 GB, free: 5.891 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005676/0.1329, allocations: 39.69 kB / 0.9347 GB, free: 5.852 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006898/0.1336, allocations: 230.3 kB / 0.9349 GB, free: 5.625 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.1348, allocations: 0.7497 MB / 0.9356 GB, free: 4.871 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.1361, allocations: 0.713 MB / 0.9363 GB, free: 4.156 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.1375, allocations: 1.5 MB / 0.9378 GB, free: 2.652 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006291/0.1381, allocations: 0.5031 MB / 0.9383 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.1396, allocations: 0.8811 MB / 0.9391 GB, free: 1.289 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005088/0.1401, allocations: 450.6 kB / 0.9396 GB, free: 0.8477 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 7.203e-05/0.1401, allocations: 52 kB / 0.9396 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007115/0.1409, allocations: 0.5144 MB / 0.9401 GB, free: 288 kB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.1411, allocations: 303.1 kB / 0.9404 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.1413, allocations: 259.4 kB / 0.9407 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000976/0.1423, allocations: 0.8603 MB / 0.9415 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1423, allocations: 3.938 kB / 0.9415 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1423, allocations: 4 kB / 0.9415 GB, free: 14.86 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.1423, allocations: 0 / 0.9415 GB, free: 14.86 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001103/0.1434, allocations: 1.091 MB / 0.9426 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1435, allocations: 8.031 kB / 0.9426 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005952/0.144, allocations: 220.2 kB / 0.9428 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006094/0.1447, allocations: 0.5063 MB / 0.9433 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.1447, allocations: 45.44 kB / 0.9433 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/0.1448, allocations: 59.98 kB / 0.9434 GB, free: 12.87 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006735/0.1454, allocations: 0.6842 MB / 0.9441 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.1454, allocations: 7.938 kB / 0.9441 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.1455, allocations: 24 kB / 0.9441 GB, free: 12 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.354e-05/0.1455, allocations: 28.98 kB / 0.9441 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.1458, allocations: 194.4 kB / 0.9443 GB, free: 11.78 MB / 0.9011 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002749/0.1485, allocations: 5.342 MB / 0.9495 GB, free: 6.227 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.604e-05/0.1486, allocations: 112.4 kB / 0.9496 GB, free: 6.066 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.1487, allocations: 50.73 kB / 0.9497 GB, free: 6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.245e-05/0.1488, allocations: 19.98 kB / 0.9497 GB, free: 5.98 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1488, allocations: 41.33 kB / 0.9497 GB, free: 5.93 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=9): time 1.813e-06/0.1488, allocations: 0 / 0.9497 GB, free: 5.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=9): time 0.0003339/0.1491, allocations: 145.5 kB / 0.9499 GB, free: 5.781 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.1492, allocations: 136.5 kB / 0.95 GB, free: 5.617 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000488/0.1497, allocations: 0.5687 MB / 0.9506 GB, free: 5.031 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1497, allocations: 29.7 kB / 0.9506 GB, free: 4.996 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.15, allocations: 498.4 kB / 0.9511 GB, free: 4.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.15, allocations: 35.73 kB / 0.9511 GB, free: 4.465 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.1501, allocations: 91.61 kB / 0.9512 GB, free: 4.367 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1502, allocations: 0.539 MB / 0.9517 GB, free: 3.816 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.404e-05/0.1503, allocations: 28.72 kB / 0.9517 GB, free: 3.789 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.1506, allocations: 0.4942 MB / 0.9522 GB, free: 3.109 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.1509, allocations: 424.6 kB / 0.9526 GB, free: 2.547 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1509, allocations: 4 kB / 0.9526 GB, free: 2.543 MB / 0.9011 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004102/0.1513, allocations: 329.3 kB / 0.9529 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1514, allocations: 14.53 kB / 0.953 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1514, allocations: 8 kB / 0.953 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1514, allocations: 15.94 kB / 0.953 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.1516, allocations: 87.95 kB / 0.9531 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.1516, allocations: 15.94 kB / 0.9531 GB, free: 2.078 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.1519, allocations: 71.64 kB / 0.9531 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.1519, allocations: 20 kB / 0.9532 GB, free: 1.988 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.1521, allocations: 196.4 kB / 0.9533 GB, free: 1.785 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.1522, allocations: 55.61 kB / 0.9534 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.012e-05/0.1522, allocations: 52.12 kB / 0.9535 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1522, allocations: 7.938 kB / 0.9535 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.1522, allocations: 0 / 0.9535 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1522, allocations: 4 kB / 0.9535 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008128/0.153, allocations: 1.062 MB / 0.9545 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.153, allocations: 0 / 0.9545 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.769e-05/0.1531, allocations: 16 kB / 0.9545 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1531, allocations: 0 / 0.9545 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.1531, allocations: 11.94 kB / 0.9545 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.1531, allocations: 4 kB / 0.9545 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1531, allocations: 0 / 0.9545 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.1533, allocations: 225.5 kB / 0.9547 GB, free: 228 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.436e-05/0.1534, allocations: 71.8 kB / 0.9548 GB, free: 156 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.1534, allocations: 4 kB / 0.9548 GB, free: 152 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.1535, allocations: 8 kB / 0.9548 GB, free: 144 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.1536, allocations: 19.86 kB / 0.9548 GB, free: 124 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.1536, allocations: 4 kB / 0.9548 GB, free: 120 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002523/0.1538, allocations: 334.7 kB / 0.9552 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1538, allocations: 0 / 0.9552 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004702/0.1543, allocations: 183.5 kB / 0.9553 GB, free: 15.61 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003118/0.1546, allocations: 172.8 kB / 0.9555 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.1548, allocations: 152.3 kB / 0.9557 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1548, allocations: 0 / 0.9557 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.602e-05/0.1549, allocations: 31.61 kB / 0.9557 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006818/0.1556, allocations: 214.1 kB / 0.9559 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.1568, allocations: 0.9812 MB / 0.9568 GB, free: 14 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.1569, allocations: 161.2 kB / 0.957 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001961/0.1571, allocations: 68.72 kB / 0.9571 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/0.1575, allocations: 230 kB / 0.9573 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of SimCode: time 6.61e-07/0.1575, allocations: 3.938 kB / 0.9573 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of Templates: time 0.01168/0.1691, allocations: 8.23 MB / 0.9653 GB, free: 5.559 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2943753730505705]