Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001494/0.001494, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001619/0.001619, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9742/0.9742, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.879/1.879, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0.7656 kB / 0.8116 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.469e-05/2.627e-05, allocations: 7.25 kB / 0.8116 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1358/0.1358, allocations: 149.5 MB / 0.9576 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005326/0.1411, allocations: 3.184 MB / 0.9607 GB, free: 8.555 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009427/0.1421, allocations: 39.69 kB / 0.9607 GB, free: 8.516 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008882/0.143, allocations: 230.3 kB / 0.9609 GB, free: 8.289 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.1444, allocations: 0.7458 MB / 0.9617 GB, free: 7.539 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.1459, allocations: 0.713 MB / 0.9623 GB, free: 6.824 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001719/0.1476, allocations: 1.498 MB / 0.9638 GB, free: 5.324 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007421/0.1484, allocations: 0.5031 MB / 0.9643 GB, free: 4.805 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.1499, allocations: 0.8753 MB / 0.9652 GB, free: 3.961 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008297/0.1507, allocations: 426.6 kB / 0.9656 GB, free: 3.543 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 9.462e-05/0.1508, allocations: 56 kB / 0.9656 GB, free: 3.488 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000942/0.1518, allocations: 0.5105 MB / 0.9661 GB, free: 2.973 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.152, allocations: 307.1 kB / 0.9664 GB, free: 2.672 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.1523, allocations: 255.4 kB / 0.9667 GB, free: 2.422 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.1535, allocations: 0.8526 MB / 0.9675 GB, free: 1.566 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1535, allocations: 0 / 0.9675 GB, free: 1.566 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.021e-06/0.1535, allocations: 4 kB / 0.9675 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.1535, allocations: 4 kB / 0.9675 GB, free: 1.559 MB / 0.9167 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.001122/0.1546, allocations: 1.087 MB / 0.9686 GB, free: 444 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1546, allocations: 12.03 kB / 0.9686 GB, free: 432 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007365/0.1554, allocations: 220.2 kB / 0.9688 GB, free: 212 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006545/0.156, allocations: 0.5103 MB / 0.9693 GB, free: 15.67 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.1561, allocations: 49.44 kB / 0.9693 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.1561, allocations: 56 kB / 0.9694 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007193/0.1568, allocations: 0.72 MB / 0.9701 GB, free: 14.69 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1568, allocations: 3.938 kB / 0.9701 GB, free: 14.69 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.1569, allocations: 24 kB / 0.9701 GB, free: 14.66 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.441e-05/0.1569, allocations: 21 kB / 0.9701 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003437/0.1573, allocations: 235.2 kB / 0.9703 GB, free: 14.41 MB / 0.9323 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.003442/0.1607, allocations: 5.33 MB / 0.9756 GB, free: 8.875 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 9.629e-05/0.1608, allocations: 116.3 kB / 0.9757 GB, free: 8.711 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.534e-05/0.1609, allocations: 50.92 kB / 0.9757 GB, free: 8.645 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.161, allocations: 23.98 kB / 0.9757 GB, free: 8.621 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.161, allocations: 41.33 kB / 0.9758 GB, free: 8.57 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=9): time 2.114e-06/0.161, allocations: 0 / 0.9758 GB, free: 8.57 MB / 0.9323 GB Notification: Performance of matching and sorting (n=9): time 0.0003361/0.1613, allocations: 149.2 kB / 0.9759 GB, free: 8.418 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.1614, allocations: 128.5 kB / 0.976 GB, free: 8.262 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/0.1619, allocations: 0.5804 MB / 0.9766 GB, free: 7.664 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.1619, allocations: 29.95 kB / 0.9766 GB, free: 7.629 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.1621, allocations: 490.6 kB / 0.9771 GB, free: 7.141 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.1621, allocations: 39.73 kB / 0.9771 GB, free: 7.102 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.1622, allocations: 91.62 kB / 0.9772 GB, free: 7.004 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1623, allocations: 0.5352 MB / 0.9778 GB, free: 6.457 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.455e-05/0.1624, allocations: 36.72 kB / 0.9778 GB, free: 6.422 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.1626, allocations: 0.4979 MB / 0.9783 GB, free: 5.738 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.1629, allocations: 432.6 kB / 0.9787 GB, free: 5.168 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1629, allocations: 4 kB / 0.9787 GB, free: 5.164 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004655/0.1634, allocations: 349.1 kB / 0.979 GB, free: 4.816 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1634, allocations: 8 kB / 0.979 GB, free: 4.809 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1634, allocations: 8.969 kB / 0.979 GB, free: 4.801 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.1634, allocations: 19.94 kB / 0.9791 GB, free: 4.781 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.1636, allocations: 91.83 kB / 0.9791 GB, free: 4.691 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.1636, allocations: 15.94 kB / 0.9792 GB, free: 4.676 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.1638, allocations: 71.62 kB / 0.9792 GB, free: 4.605 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.1639, allocations: 27.98 kB / 0.9793 GB, free: 4.578 MB / 0.9323 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.0001156/0.164, allocations: 188.3 kB / 0.9794 GB, free: 4.383 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/0.1641, allocations: 63.61 kB / 0.9795 GB, free: 4.32 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.1641, allocations: 52.12 kB / 0.9795 GB, free: 4.27 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1641, allocations: 7.938 kB / 0.9796 GB, free: 4.262 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1641, allocations: 0 / 0.9796 GB, free: 4.262 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.1641, allocations: 0 / 0.9796 GB, free: 4.262 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007703/0.1649, allocations: 1.159 MB / 0.9807 GB, free: 3.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1649, allocations: 288 / 0.9807 GB, free: 3.02 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/0.1649, allocations: 23.94 kB / 0.9807 GB, free: 2.996 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1649, allocations: 0 / 0.9807 GB, free: 2.996 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.165, allocations: 7.984 kB / 0.9807 GB, free: 2.988 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.165, allocations: 4 kB / 0.9807 GB, free: 2.984 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.165, allocations: 0 / 0.9807 GB, free: 2.984 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.1651, allocations: 233.4 kB / 0.9809 GB, free: 2.699 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/0.1652, allocations: 71.58 kB / 0.981 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.1652, allocations: 4 kB / 0.981 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.666e-05/0.1653, allocations: 15.98 kB / 0.981 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.1654, allocations: 15.92 kB / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.1654, allocations: 4 kB / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000249/0.1656, allocations: 354.8 kB / 0.9814 GB, free: 2.246 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.1656, allocations: 0 / 0.9814 GB, free: 2.246 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004162/0.166, allocations: 175.5 kB / 0.9816 GB, free: 2.074 MB / 0.9323 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.0003481/0.1664, allocations: 180.8 kB / 0.9817 GB, free: 1.902 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002338/0.1666, allocations: 153.1 kB / 0.9819 GB, free: 1.75 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1666, allocations: 4.188 kB / 0.9819 GB, free: 1.746 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 3.161e-05/0.1666, allocations: 43.58 kB / 0.9819 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005416/0.1672, allocations: 201.6 kB / 0.9821 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.1685, allocations: 0.9814 MB / 0.9831 GB, free: 468 kB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.466e-05/0.1686, allocations: 161.1 kB / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002306/0.1688, allocations: 112.5 kB / 0.9833 GB, free: 172 kB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.645e-05/0.1688, allocations: 40.48 kB / 0.9834 GB, free: 132 kB / 0.9323 GB Notification: Performance of SimCode: time 9.22e-07/0.1688, allocations: 0 / 0.9834 GB, free: 132 kB / 0.9323 GB Notification: Performance of Templates: time 0.01158/0.1804, allocations: 8.076 MB / 0.9913 GB, free: 8.309 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.57568344194442]