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.001013/0.001013, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001/0.001, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9558/0.9558, 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.941/1.941, allocations: 377.8 MB / 0.6236 GB, free: 8.578 MB / 0.5886 GB " [Timeout remaining time 177] 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.874e-06/1.874e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.318e-05/3.506e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.146/0.1461, allocations: 149.8 MB / 0.9578 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.00529/0.1514, allocations: 3.508 MB / 0.9613 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005393/0.1519, allocations: 51.56 kB / 0.9613 GB, free: 7.879 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007266/0.1526, allocations: 234.3 kB / 0.9615 GB, free: 7.648 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.1544, allocations: 1.006 MB / 0.9625 GB, free: 6.637 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.1556, allocations: 0.7132 MB / 0.9632 GB, free: 5.922 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002392/0.158, allocations: 2.226 MB / 0.9654 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007066/0.1587, allocations: 0.561 MB / 0.9659 GB, free: 3.109 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.1599, allocations: 1.001 MB / 0.9669 GB, free: 2.105 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.1611, allocations: 0.6831 MB / 0.9676 GB, free: 1.457 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.1613, allocations: 79.94 kB / 0.9677 GB, free: 1.379 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007057/0.162, allocations: 458.8 kB / 0.9681 GB, free: 0.9297 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.1623, allocations: 355 kB / 0.9684 GB, free: 0.582 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.1626, allocations: 343.2 kB / 0.9688 GB, free: 252 kB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.1636, allocations: 0.9072 MB / 0.9697 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1636, allocations: 0 / 0.9697 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1636, allocations: 0 / 0.9697 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.1636, allocations: 0 / 0.9697 GB, free: 15.34 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.001273/0.1649, allocations: 1.18 MB / 0.9708 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1649, allocations: 8.031 kB / 0.9708 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.166, allocations: 351.7 kB / 0.9712 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007828/0.1668, allocations: 0.6653 MB / 0.9718 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.1668, allocations: 49.25 kB / 0.9718 GB, free: 13.02 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-05/0.1669, allocations: 64 kB / 0.9719 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005695/0.1675, allocations: 0.5633 MB / 0.9725 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1675, allocations: 0 / 0.9725 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.1675, allocations: 35.88 kB / 0.9725 GB, free: 12.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.1676, allocations: 21.31 kB / 0.9725 GB, free: 12.28 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004359/0.168, allocations: 227.7 kB / 0.9727 GB, free: 12.06 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.001783/0.1698, allocations: 1.453 MB / 0.9741 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005969/0.1704, allocations: 265.5 kB / 0.9744 GB, free: 10.29 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.1705, allocations: 114.2 kB / 0.9745 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.1706, allocations: 20 kB / 0.9745 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.1707, allocations: 45.38 kB / 0.9746 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=43): time 1.483e-06/0.1707, allocations: 0 / 0.9746 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of matching and sorting (n=48): time 0.001448/0.1721, allocations: 0.9457 MB / 0.9755 GB, free: 9.129 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.1721, allocations: 55.91 kB / 0.9756 GB, free: 9.062 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.1725, allocations: 498.7 kB / 0.976 GB, free: 8.562 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.1725, allocations: 29.7 kB / 0.9761 GB, free: 8.527 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.1727, allocations: 391.7 kB / 0.9764 GB, free: 8.141 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.1728, allocations: 178.4 kB / 0.9766 GB, free: 7.965 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.69e-05/0.1729, allocations: 95.8 kB / 0.9767 GB, free: 7.863 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1731, allocations: 0.5469 MB / 0.9772 GB, free: 7.305 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.1732, allocations: 68.95 kB / 0.9773 GB, free: 7.238 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.1734, allocations: 273.8 kB / 0.9776 GB, free: 6.91 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.001001/0.1744, allocations: 0.5264 MB / 0.9781 GB, free: 6.363 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1744, allocations: 4 kB / 0.9781 GB, free: 6.359 MB / 0.9323 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004012/0.1748, allocations: 345.1 kB / 0.9784 GB, free: 6.016 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1748, allocations: 4.156 kB / 0.9784 GB, free: 6.012 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1748, allocations: 11.94 kB / 0.9784 GB, free: 6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1748, allocations: 0 / 0.9784 GB, free: 6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.175, allocations: 99.83 kB / 0.9785 GB, free: 5.902 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.175, allocations: 4 kB / 0.9785 GB, free: 5.898 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.1753, allocations: 16 kB / 0.9785 GB, free: 5.883 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.1753, allocations: 16 kB / 0.9785 GB, free: 5.867 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 (56): * Single equations (assignments): 56 * 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.0001426/0.1754, allocations: 188.4 kB / 0.9787 GB, free: 5.672 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.1755, allocations: 79.66 kB / 0.9788 GB, free: 5.594 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.444e-05/0.1756, allocations: 77.81 kB / 0.9789 GB, free: 5.512 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1756, allocations: 12 kB / 0.9789 GB, free: 5.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1756, allocations: 0 / 0.9789 GB, free: 5.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003105/0.1759, allocations: 340.4 kB / 0.9792 GB, free: 5.137 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.1771, allocations: 1.229 MB / 0.9804 GB, free: 3.781 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1771, allocations: 4 kB / 0.9804 GB, free: 3.777 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.1774, allocations: 111.8 kB / 0.9805 GB, free: 3.668 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.1774, allocations: 8 kB / 0.9805 GB, free: 3.66 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.1774, allocations: 19.98 kB / 0.9805 GB, free: 3.641 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.1774, allocations: 8.562 kB / 0.9806 GB, free: 3.633 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.1774, allocations: 11.94 kB / 0.9806 GB, free: 3.621 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.178, allocations: 0.7337 MB / 0.9813 GB, free: 2.781 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.1781, allocations: 111.6 kB / 0.9814 GB, free: 2.672 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.1782, allocations: 16 kB / 0.9814 GB, free: 2.656 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.1784, allocations: 20 kB / 0.9814 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.1785, allocations: 43.81 kB / 0.9815 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.1785, allocations: 27.98 kB / 0.9815 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002047/0.1787, allocations: 322.8 kB / 0.9818 GB, free: 2.254 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.1787, allocations: 0 / 0.9818 GB, free: 2.254 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003835/0.1791, allocations: 200 kB / 0.982 GB, free: 2.059 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 (49): * Single equations (assignments): 49 * 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.000193/0.1793, allocations: 155 kB / 0.9821 GB, free: 1.898 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00034/0.1796, allocations: 263.3 kB / 0.9824 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1796, allocations: 7.938 kB / 0.9824 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.1798, allocations: 154 kB / 0.9825 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.1808, allocations: 456.7 kB / 0.983 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.1824, allocations: 1.393 MB / 0.9843 GB, free: 15.53 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.1828, allocations: 183.2 kB / 0.9845 GB, free: 15.33 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002772/0.183, allocations: 133.2 kB / 0.9846 GB, free: 15.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.1832, allocations: 64.48 kB / 0.9847 GB, free: 15.13 MB / 0.948 GB Notification: Performance of SimCode: time 7.01e-07/0.1832, allocations: 0 / 0.9847 GB, free: 15.13 MB / 0.948 GB Notification: Performance of Templates: time 0.01512/0.1983, allocations: 14.3 MB / 0.9987 GB, free: 1.207 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.736883488018066]