Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.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.0008625/0.0008625, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009145/0.0009145, allocations: 161 kB / 24.17 MB, free: 328 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.943/0.943, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.924/1.924, allocations: 377.9 MB / 0.624 GB, free: 8.336 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.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.332e-05, allocations: 4.844 kB / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1492/0.1492, allocations: 146.1 MB / 0.9028 GB, free: 4.098 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005619/0.1548, allocations: 3.89 MB / 0.9066 GB, free: 200 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003703/0.1552, allocations: 19.81 kB / 0.9066 GB, free: 180 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.1557, allocations: 134.9 kB / 0.9067 GB, free: 44 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001564/0.1573, allocations: 0.61 MB / 0.9073 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009594/0.1582, allocations: 446.9 kB / 0.9077 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001255/0.1595, allocations: 1.034 MB / 0.9087 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008067/0.1603, allocations: 272.4 kB / 0.909 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.1616, allocations: 0.5908 MB / 0.9096 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004815/0.1621, allocations: 279.2 kB / 0.9098 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 5.987e-05/0.1621, allocations: 28 kB / 0.9099 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007418/0.1629, allocations: 331 kB / 0.9102 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.163, allocations: 175.5 kB / 0.9104 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.1632, allocations: 147.7 kB / 0.9105 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008038/0.164, allocations: 0.5178 MB / 0.911 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.164, allocations: 0 / 0.911 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.164, allocations: 0 / 0.911 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.164, allocations: 3.984 kB / 0.911 GB, free: 11.66 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0009219/0.165, allocations: 0.6161 MB / 0.9116 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.165, allocations: 12.03 kB / 0.9116 GB, free: 11 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000959/0.166, allocations: 176.6 kB / 0.9118 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004827/0.1664, allocations: 315.6 kB / 0.9121 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.1665, allocations: 20.66 kB / 0.9121 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.1665, allocations: 32 kB / 0.9121 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.1669, allocations: 312.4 kB / 0.9124 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.1669, allocations: 0 / 0.9124 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.167, allocations: 16 kB / 0.9125 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.167, allocations: 8 kB / 0.9125 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.1672, allocations: 83.16 kB / 0.9125 GB, free: 10 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.001106/0.1683, allocations: 0.5735 MB / 0.9131 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.1685, allocations: 212.1 kB / 0.9133 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.1687, allocations: 72.22 kB / 0.9134 GB, free: 9.109 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.1688, allocations: 28.27 kB / 0.9134 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.1688, allocations: 34.84 kB / 0.9134 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.1688, allocations: 0 / 0.9134 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.001182/0.17, allocations: 0.5102 MB / 0.9139 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.17, allocations: 55.41 kB / 0.914 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.1702, allocations: 239 kB / 0.9142 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.1702, allocations: 33.7 kB / 0.9142 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.1703, allocations: 157.2 kB / 0.9144 GB, free: 7.992 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.1704, allocations: 134.8 kB / 0.9145 GB, free: 7.859 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.563e-05/0.1705, allocations: 61.66 kB / 0.9146 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1706, allocations: 346.7 kB / 0.9149 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.502e-05/0.1707, allocations: 30.81 kB / 0.9149 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1708, allocations: 142.5 kB / 0.9151 GB, free: 7.25 MB / 0.8698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: dynBal.medium.p = dynBal.p_start (sin.p = dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.1712, allocations: 230.3 kB / 0.9153 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1712, allocations: 0 / 0.9153 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002512/0.1715, allocations: 153.4 kB / 0.9154 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1715, allocations: 4 kB / 0.9154 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.1715, allocations: 0 / 0.9154 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1715, allocations: 4 kB / 0.9154 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.1718, allocations: 67.91 kB / 0.9155 GB, free: 6.789 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1718, allocations: 8.031 kB / 0.9155 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.172, allocations: 11.98 kB / 0.9155 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.172, allocations: 12 kB / 0.9155 GB, free: 6.758 MB / 0.8698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: dynBal.medium.p = dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 37 * 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.0001237/0.1721, allocations: 132.5 kB / 0.9157 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.1722, allocations: 31.97 kB / 0.9157 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.398e-05/0.1723, allocations: 47.03 kB / 0.9157 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1723, allocations: 0 / 0.9157 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.1723, allocations: 4 kB / 0.9157 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002427/0.1725, allocations: 228.4 kB / 0.916 GB, free: 6.277 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009568/0.1735, allocations: 0.7132 MB / 0.9167 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.1735, allocations: 7.938 kB / 0.9167 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.1738, allocations: 91.19 kB / 0.9168 GB, free: 5.387 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.1738, allocations: 8 kB / 0.9168 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.1739, allocations: 15.98 kB / 0.9168 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.1739, allocations: 11.94 kB / 0.9168 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1739, allocations: 4 kB / 0.9168 GB, free: 5.348 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.1744, allocations: 483.1 kB / 0.9173 GB, free: 4.801 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.1745, allocations: 47.75 kB / 0.9173 GB, free: 4.754 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.1745, allocations: 16.08 kB / 0.9173 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.1747, allocations: 27.89 kB / 0.9173 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/0.1748, allocations: 35.89 kB / 0.9174 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.1748, allocations: 8 kB / 0.9174 GB, free: 4.668 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.253e-05/0.1749, allocations: 88.62 kB / 0.9175 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.1749, allocations: 0 / 0.9175 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004272/0.1754, allocations: 112 kB / 0.9176 GB, free: 4.469 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (dynBal.medium.Xi[1],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 (35): * Single equations (assignments): 35 * 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.0002284/0.1756, allocations: 128.1 kB / 0.9177 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.1759, allocations: 148.9 kB / 0.9178 GB, free: 4.184 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.1759, allocations: 4 kB / 0.9178 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.176, allocations: 93.44 kB / 0.9179 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008204/0.1768, allocations: 198.4 kB / 0.9181 GB, free: 3.898 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.1784, allocations: 0.8129 MB / 0.9189 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.645e-05/0.1784, allocations: 125.8 kB / 0.919 GB, free: 2.867 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.1786, allocations: 50.94 kB / 0.9191 GB, free: 2.816 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.1789, allocations: 177.2 kB / 0.9193 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of SimCode: time 8.22e-07/0.1789, allocations: 0 / 0.9193 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of Templates: time 0.00868/0.1875, allocations: 7.186 MB / 0.9263 GB, free: 11.66 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.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.336431293282658]