Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.0009042/0.0009042, 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.0009668/0.0009668, 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.934/0.934, allocations: 177.2 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.938/1.938, allocations: 377.9 MB / 0.624 GB, free: 8.367 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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|gain.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.565e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1398/0.1398, allocations: 150.3 MB / 0.9068 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.006196/0.146, allocations: 3.91 MB / 0.9107 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008708/0.1469, allocations: 55.5 kB / 0.9107 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006562/0.1476, allocations: 277.9 kB / 0.911 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.1493, allocations: 1.064 MB / 0.912 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.1509, allocations: 1.007 MB / 0.913 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002393/0.1533, allocations: 2.564 MB / 0.9155 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009068/0.1542, allocations: 0.7795 MB / 0.9163 GB, free: 6.227 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/0.1562, allocations: 1.421 MB / 0.9177 GB, free: 4.84 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008383/0.157, allocations: 0.7517 MB / 0.9184 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.1572, allocations: 104 kB / 0.9185 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009621/0.1581, allocations: 0.6548 MB / 0.9191 GB, free: 3.328 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003763/0.1585, allocations: 0.5415 MB / 0.9197 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003965/0.1589, allocations: 459 kB / 0.9201 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.1603, allocations: 1.394 MB / 0.9215 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1603, allocations: 0 / 0.9215 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1603, allocations: 4 kB / 0.9215 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.1603, allocations: 0 / 0.9215 GB, free: 0.9336 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001405/0.1617, allocations: 1.363 MB / 0.9228 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.1618, allocations: 8.031 kB / 0.9228 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.163, allocations: 479.8 kB / 0.9233 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007967/0.1638, allocations: 0.6447 MB / 0.9239 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.1639, allocations: 70.12 kB / 0.9239 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.164, allocations: 92 kB / 0.924 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008571/0.1649, allocations: 1.082 MB / 0.9251 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.1649, allocations: 0 / 0.9251 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/0.165, allocations: 40 kB / 0.9251 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.363e-05/0.165, allocations: 33.98 kB / 0.9252 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.1654, allocations: 292.6 kB / 0.9254 GB, free: 12.67 MB / 0.8855 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.003004/0.1684, allocations: 2.346 MB / 0.9277 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.1688, allocations: 324.5 kB / 0.928 GB, free: 9.922 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.169, allocations: 99.64 kB / 0.9281 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-05/0.1691, allocations: 23.98 kB / 0.9282 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1691, allocations: 43.28 kB / 0.9282 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=43): time 2.074e-06/0.1691, allocations: 0 / 0.9282 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45): time 0.001372/0.1705, allocations: 0.7313 MB / 0.9289 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.1705, allocations: 55.41 kB / 0.929 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004939/0.171, allocations: 0.5506 MB / 0.9295 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.171, allocations: 37.7 kB / 0.9295 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.1712, allocations: 425 kB / 0.9299 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.565e-05/0.1713, allocations: 170.5 kB / 0.9301 GB, free: 7.719 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.1714, allocations: 114.2 kB / 0.9302 GB, free: 7.602 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1715, allocations: 390.5 kB / 0.9306 GB, free: 7.211 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.1717, allocations: 76.11 kB / 0.9307 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.1718, allocations: 245 kB / 0.9309 GB, free: 6.832 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005916/0.1724, allocations: 495.1 kB / 0.9314 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1724, allocations: 4 kB / 0.9314 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0004158/0.1729, allocations: 346.5 kB / 0.9317 GB, free: 5.949 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.1729, allocations: 8 kB / 0.9317 GB, free: 5.941 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.1729, allocations: 4 kB / 0.9317 GB, free: 5.938 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1729, allocations: 11.88 kB / 0.9317 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.1733, allocations: 159.9 kB / 0.9319 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1733, allocations: 11.94 kB / 0.9319 GB, free: 5.758 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.1736, allocations: 35.97 kB / 0.9319 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.1737, allocations: 27.98 kB / 0.932 GB, free: 5.695 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (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.0001867/0.1739, allocations: 147.2 kB / 0.9321 GB, free: 5.543 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.665e-05/0.1739, allocations: 67.92 kB / 0.9322 GB, free: 5.477 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.586e-05/0.174, allocations: 87.14 kB / 0.9322 GB, free: 5.387 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.174, allocations: 7.938 kB / 0.9322 GB, free: 5.379 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.174, allocations: 0 / 0.9322 GB, free: 5.379 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003196/0.1744, allocations: 499.9 kB / 0.9327 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.1758, allocations: 1.062 MB / 0.9338 GB, free: 3.664 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1758, allocations: 4.406 kB / 0.9338 GB, free: 3.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.1762, allocations: 135.8 kB / 0.9339 GB, free: 3.527 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1762, allocations: 8 kB / 0.9339 GB, free: 3.52 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.1762, allocations: 12 kB / 0.9339 GB, free: 3.508 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1762, allocations: 4 kB / 0.9339 GB, free: 3.504 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.1762, allocations: 7.984 kB / 0.9339 GB, free: 3.496 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005791/0.1768, allocations: 0.5834 MB / 0.9345 GB, free: 2.844 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.177, allocations: 111.5 kB / 0.9346 GB, free: 2.734 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/0.177, allocations: 15.94 kB / 0.9346 GB, free: 2.719 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.1774, allocations: 57.19 kB / 0.9347 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.1774, allocations: 31.89 kB / 0.9347 GB, free: 2.633 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/0.1775, allocations: 31.97 kB / 0.9347 GB, free: 2.602 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001857/0.1777, allocations: 260.5 kB / 0.935 GB, free: 2.348 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.1777, allocations: 0 / 0.935 GB, free: 2.348 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005283/0.1782, allocations: 267.9 kB / 0.9352 GB, free: 2.086 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (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 Backend phase and start with SimCode phase: time 0.0002629/0.1785, allocations: 156.1 kB / 0.9354 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003995/0.1789, allocations: 265.4 kB / 0.9356 GB, free: 1.664 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/0.1789, allocations: 16.06 kB / 0.9357 GB, free: 1.648 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.179, allocations: 120.5 kB / 0.9358 GB, free: 1.527 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.1803, allocations: 496.8 kB / 0.9362 GB, free: 1.051 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.1827, allocations: 1.723 MB / 0.9379 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.1828, allocations: 239.1 kB / 0.9382 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004202/0.1832, allocations: 150.3 kB / 0.9383 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007566/0.184, allocations: 388.9 kB / 0.9387 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of SimCode: time 1.333e-06/0.184, allocations: 0 / 0.9387 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of Templates: time 0.02141/0.2054, allocations: 19.53 MB / 0.9577 GB, free: 11.44 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.564751094672829]