Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001026/0.001026, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009733/0.0009733, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9282/0.9282, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.867/1.867, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.399e-05, allocations: 10.48 kB / 0.7601 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1398/0.1398, allocations: 149 MB / 0.9055 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005175/0.145, allocations: 3.287 MB / 0.9087 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006691/0.1456, allocations: 43.62 kB / 0.9088 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007322/0.1464, allocations: 250.2 kB / 0.909 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.1478, allocations: 0.8857 MB / 0.9099 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.1494, allocations: 0.7014 MB / 0.9106 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001731/0.1511, allocations: 2.004 MB / 0.9125 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006225/0.1517, allocations: 0.6418 MB / 0.9132 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.1532, allocations: 1.137 MB / 0.9143 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005568/0.1538, allocations: 0.5608 MB / 0.9148 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 8.871e-05/0.1538, allocations: 76 kB / 0.9149 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006386/0.1545, allocations: 383.1 kB / 0.9153 GB, free: 7.301 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003078/0.1548, allocations: 422.8 kB / 0.9157 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002771/0.1551, allocations: 343.2 kB / 0.916 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.1561, allocations: 0.9616 MB / 0.9169 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1561, allocations: 3.984 kB / 0.9169 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1561, allocations: 0 / 0.9169 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.1561, allocations: 4 kB / 0.9169 GB, free: 5.578 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001307/0.1574, allocations: 1.099 MB / 0.918 GB, free: 4.453 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1575, allocations: 11.97 kB / 0.918 GB, free: 4.441 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006958/0.1582, allocations: 268.4 kB / 0.9183 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006328/0.1588, allocations: 0.5396 MB / 0.9188 GB, free: 3.609 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.1588, allocations: 62.12 kB / 0.9189 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.159, allocations: 79.95 kB / 0.9189 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/0.1596, allocations: 0.7796 MB / 0.9197 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.1596, allocations: 3.938 kB / 0.9197 GB, free: 2.57 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.1596, allocations: 36 kB / 0.9197 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/0.1597, allocations: 25.31 kB / 0.9198 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.16, allocations: 264.1 kB / 0.92 GB, free: 2.246 MB / 0.8698 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.002231/0.1622, allocations: 3.258 MB / 0.9232 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.1625, allocations: 382.2 kB / 0.9236 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.633e-05/0.1626, allocations: 103.7 kB / 0.9237 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.416e-05/0.1627, allocations: 28.3 kB / 0.9237 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1628, allocations: 42.83 kB / 0.9237 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=42): time 2.906e-06/0.1628, allocations: 7.984 kB / 0.9237 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=44): time 0.001312/0.1641, allocations: 0.6404 MB / 0.9244 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.1641, allocations: 110.8 kB / 0.9245 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.1644, allocations: 479 kB / 0.9249 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.1644, allocations: 33.95 kB / 0.9249 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1646, allocations: 381.2 kB / 0.9253 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8e-05/0.1647, allocations: 162.6 kB / 0.9255 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.1648, allocations: 118.2 kB / 0.9256 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1649, allocations: 374.6 kB / 0.9259 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.55e-05/0.1649, allocations: 60.11 kB / 0.926 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.1651, allocations: 396.7 kB / 0.9264 GB, free: 11.33 MB / 0.8855 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/0.1656, allocations: 499.5 kB / 0.9268 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1656, allocations: 4.062 kB / 0.9269 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00035/0.166, allocations: 357.4 kB / 0.9272 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.166, allocations: 8 kB / 0.9272 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.166, allocations: 16.02 kB / 0.9272 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.166, allocations: 11.94 kB / 0.9272 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.1663, allocations: 119.8 kB / 0.9273 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1663, allocations: 15.92 kB / 0.9274 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.1665, allocations: 27.95 kB / 0.9274 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.1665, allocations: 23.94 kB / 0.9274 GB, free: 10.17 MB / 0.8855 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.000152/0.1667, allocations: 156.4 kB / 0.9276 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/0.1667, allocations: 55.95 kB / 0.9276 GB, free: 9.949 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.462e-05/0.1668, allocations: 74.23 kB / 0.9277 GB, free: 9.875 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.1668, allocations: 12 kB / 0.9277 GB, free: 9.863 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1668, allocations: 0 / 0.9277 GB, free: 9.863 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002508/0.1671, allocations: 475.5 kB / 0.9281 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.1681, allocations: 1.038 MB / 0.9292 GB, free: 8.188 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.1681, allocations: 4 kB / 0.9292 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.1683, allocations: 99.83 kB / 0.9293 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.1683, allocations: 7.984 kB / 0.9293 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.1683, allocations: 12 kB / 0.9293 GB, free: 8.066 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1683, allocations: 7.938 kB / 0.9293 GB, free: 8.059 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1683, allocations: 8 kB / 0.9293 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004143/0.1688, allocations: 0.5356 MB / 0.9298 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.1689, allocations: 95.47 kB / 0.9299 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.1689, allocations: 16 kB / 0.9299 GB, free: 7.324 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.1691, allocations: 12 kB / 0.9299 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.1691, allocations: 39.91 kB / 0.93 GB, free: 7.273 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.1692, allocations: 16 kB / 0.93 GB, free: 7.258 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000152/0.1693, allocations: 208.4 kB / 0.9302 GB, free: 7.055 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1693, allocations: 0 / 0.9302 GB, free: 7.055 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004153/0.1697, allocations: 195.9 kB / 0.9304 GB, free: 6.863 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (44): * Single equations (assignments): 44 * 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.0003728/0.1701, allocations: 169.9 kB / 0.9305 GB, free: 6.703 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005619/0.1707, allocations: 251.4 kB / 0.9308 GB, free: 6.457 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.1707, allocations: 12 kB / 0.9308 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1708, allocations: 114.8 kB / 0.9309 GB, free: 6.332 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007713/0.1715, allocations: 360 kB / 0.9312 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.1732, allocations: 1.389 MB / 0.9326 GB, free: 4.516 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.1733, allocations: 202.4 kB / 0.9328 GB, free: 4.297 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000249/0.1736, allocations: 101.4 kB / 0.9329 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/0.174, allocations: 279 kB / 0.9331 GB, free: 3.922 MB / 0.8855 GB Notification: Performance of SimCode: time 8.02e-07/0.174, allocations: 7.938 kB / 0.9332 GB, free: 3.914 MB / 0.8855 GB Notification: Performance of Templates: time 0.01607/0.1901, allocations: 12.9 MB / 0.9458 GB, free: 7.371 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.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.404271344188601]