Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.001539/0.001539, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001083/0.001083, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9186/0.9186, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.833/1.833, allocations: 377.8 MB / 0.6236 GB, free: 8.574 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.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volSim.T|volExa.T|relErr.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.883e-05, allocations: 5.547 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.1346/0.1346, allocations: 149.8 MB / 0.9578 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005305/0.1399, allocations: 3.501 MB / 0.9613 GB, free: 7.938 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008643/0.1408, allocations: 47.62 kB / 0.9613 GB, free: 7.891 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007083/0.1415, allocations: 242.2 kB / 0.9615 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.1436, allocations: 1.002 MB / 0.9625 GB, free: 6.645 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.1449, allocations: 0.7131 MB / 0.9632 GB, free: 5.93 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002501/0.1474, allocations: 2.241 MB / 0.9654 GB, free: 3.68 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009075/0.1483, allocations: 0.5492 MB / 0.9659 GB, free: 3.117 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.1507, allocations: 1.306 MB / 0.9672 GB, free: 1.883 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009679/0.1517, allocations: 0.5959 MB / 0.9678 GB, free: 1.285 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.1519, allocations: 72 kB / 0.9679 GB, free: 1.215 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007988/0.1527, allocations: 375.1 kB / 0.9682 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003063/0.153, allocations: 351 kB / 0.9686 GB, free: 0.5039 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.1533, allocations: 331.3 kB / 0.9689 GB, free: 184 kB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.1545, allocations: 0.8682 MB / 0.9697 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1545, allocations: 0 / 0.9697 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1545, allocations: 3.938 kB / 0.9697 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.897e-05/0.1546, allocations: 0 / 0.9697 GB, free: 15.3 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001423/0.156, allocations: 1.165 MB / 0.9709 GB, free: 14.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.156, allocations: 12.03 kB / 0.9709 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.157, allocations: 319.8 kB / 0.9712 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007523/0.1578, allocations: 0.6365 MB / 0.9718 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.1578, allocations: 49.44 kB / 0.9718 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.368e-05/0.1579, allocations: 67.94 kB / 0.9719 GB, free: 13 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/0.1585, allocations: 0.5749 MB / 0.9725 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.1586, allocations: 0 / 0.9725 GB, free: 12.36 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.1586, allocations: 24 kB / 0.9725 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/0.1586, allocations: 21.31 kB / 0.9725 GB, free: 12.32 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.1591, allocations: 231.7 kB / 0.9727 GB, free: 12.09 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.002068/0.1611, allocations: 1.441 MB / 0.9741 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/0.1616, allocations: 263.2 kB / 0.9744 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.1617, allocations: 103.6 kB / 0.9745 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.1618, allocations: 19.98 kB / 0.9745 GB, free: 10.22 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.1618, allocations: 41.39 kB / 0.9746 GB, free: 10.17 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=41): time 1.884e-06/0.1618, allocations: 0 / 0.9746 GB, free: 10.17 MB / 0.9323 GB Notification: Performance of matching and sorting (n=46): time 0.001529/0.1634, allocations: 0.9317 MB / 0.9755 GB, free: 9.203 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.1634, allocations: 55.41 kB / 0.9755 GB, free: 9.137 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.1638, allocations: 494.6 kB / 0.976 GB, free: 8.637 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.1638, allocations: 37.7 kB / 0.976 GB, free: 8.594 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.164, allocations: 387.7 kB / 0.9764 GB, free: 8.211 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.1641, allocations: 178.5 kB / 0.9766 GB, free: 8.035 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.1642, allocations: 91.81 kB / 0.9767 GB, free: 7.938 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1644, allocations: 0.5507 MB / 0.9772 GB, free: 7.375 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.1645, allocations: 68.95 kB / 0.9773 GB, free: 7.309 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.1647, allocations: 198.9 kB / 0.9774 GB, free: 7.078 MB / 0.9323 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0007106/0.1654, allocations: 0.5136 MB / 0.9779 GB, free: 6.543 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1654, allocations: 0 / 0.9779 GB, free: 6.543 MB / 0.9323 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00042/0.1658, allocations: 341.2 kB / 0.9783 GB, free: 6.203 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1658, allocations: 4 kB / 0.9783 GB, free: 6.199 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.1658, allocations: 7.938 kB / 0.9783 GB, free: 6.191 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1658, allocations: 0 / 0.9783 GB, free: 6.191 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.1661, allocations: 95.89 kB / 0.9784 GB, free: 6.098 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.1661, allocations: 4 kB / 0.9784 GB, free: 6.094 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.1663, allocations: 20.11 kB / 0.9784 GB, free: 6.074 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.1663, allocations: 16 kB / 0.9784 GB, free: 6.059 MB / 0.9323 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: volSim.dynBal.medium.p = volSim.dynBal.p_start volExa.dynBal.medium.p = volExa.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (54): * Single equations (assignments): 54 * 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.0001558/0.1665, allocations: 196.3 kB / 0.9786 GB, free: 5.855 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.339e-05/0.1666, allocations: 75.62 kB / 0.9787 GB, free: 5.781 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.531e-05/0.1667, allocations: 73.5 kB / 0.9787 GB, free: 5.707 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1667, allocations: 4 kB / 0.9787 GB, free: 5.703 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1667, allocations: 0 / 0.9787 GB, free: 5.703 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003075/0.167, allocations: 324.6 kB / 0.9791 GB, free: 5.355 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.1682, allocations: 1.225 MB / 0.9803 GB, free: 4.004 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.1682, allocations: 8.094 kB / 0.9803 GB, free: 3.996 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.1685, allocations: 111.8 kB / 0.9804 GB, free: 3.887 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.1685, allocations: 4 kB / 0.9804 GB, free: 3.883 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.1686, allocations: 16 kB / 0.9804 GB, free: 3.867 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.1686, allocations: 11.92 kB / 0.9804 GB, free: 3.855 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.1686, allocations: 12 kB / 0.9804 GB, free: 3.844 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006145/0.1692, allocations: 0.7239 MB / 0.9811 GB, free: 3.016 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.1693, allocations: 119.5 kB / 0.9812 GB, free: 2.898 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.094e-05/0.1694, allocations: 16 kB / 0.9812 GB, free: 2.883 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.1696, allocations: 19.98 kB / 0.9813 GB, free: 2.863 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.1697, allocations: 47.81 kB / 0.9813 GB, free: 2.816 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.1697, allocations: 20 kB / 0.9813 GB, free: 2.797 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002192/0.1699, allocations: 326.7 kB / 0.9816 GB, free: 2.48 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.1699, allocations: 0 / 0.9816 GB, free: 2.48 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004441/0.1704, allocations: 196 kB / 0.9818 GB, free: 2.289 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * 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 (47): * Single equations (assignments): 47 * 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.0002486/0.1706, allocations: 151 kB / 0.982 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.171, allocations: 254.8 kB / 0.9822 GB, free: 1.879 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.171, allocations: 4 kB / 0.9822 GB, free: 1.875 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.1712, allocations: 141.2 kB / 0.9824 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.1723, allocations: 454.6 kB / 0.9828 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.1741, allocations: 1.397 MB / 0.9842 GB, free: 15.79 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.1743, allocations: 183 kB / 0.9843 GB, free: 15.59 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004215/0.1747, allocations: 137.1 kB / 0.9845 GB, free: 15.45 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.1748, allocations: 52.5 kB / 0.9845 GB, free: 15.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.313e-06/0.1748, allocations: 0 / 0.9845 GB, free: 15.4 MB / 0.948 GB Notification: Performance of Templates: time 0.01857/0.1934, allocations: 15.11 MB / 0.9993 GB, free: 0.6484 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.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.478823660407215]