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.001405/0.001405, 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.001795/0.001795, 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.9831/0.9831, 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.782/1.782, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.573e-06/1.573e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.85e-05, allocations: 5.406 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1516/0.1517, allocations: 146.1 MB / 0.9027 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003906/0.1556, allocations: 3.888 MB / 0.9065 GB, free: 300 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.1558, allocations: 23.81 kB / 0.9065 GB, free: 276 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.1562, allocations: 135 kB / 0.9066 GB, free: 140 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009185/0.1571, allocations: 0.6061 MB / 0.9072 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.1576, allocations: 458.9 kB / 0.9077 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0007579/0.1584, allocations: 1.037 MB / 0.9087 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002581/0.1587, allocations: 245.1 kB / 0.9089 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00081/0.1595, allocations: 0.5928 MB / 0.9095 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.1598, allocations: 275.2 kB / 0.9097 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.1598, allocations: 32 kB / 0.9098 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.1601, allocations: 319 kB / 0.9101 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.1603, allocations: 179.5 kB / 0.9103 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.1604, allocations: 143.7 kB / 0.9104 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004942/0.1609, allocations: 0.5178 MB / 0.9109 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1609, allocations: 0 / 0.9109 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1609, allocations: 4 kB / 0.9109 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.1609, allocations: 0 / 0.9109 GB, free: 11.77 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.0006223/0.1615, allocations: 0.6123 MB / 0.9115 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1615, allocations: 12.03 kB / 0.9115 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005423/0.1621, allocations: 184.5 kB / 0.9117 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.1624, allocations: 307.7 kB / 0.912 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1624, allocations: 24.66 kB / 0.912 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.1625, allocations: 39.94 kB / 0.912 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.1627, allocations: 312.4 kB / 0.9123 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1627, allocations: 0 / 0.9123 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.1627, allocations: 19.98 kB / 0.9124 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1627, allocations: 4 kB / 0.9124 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.1629, allocations: 91.09 kB / 0.9124 GB, free: 10.1 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.0007312/0.1636, allocations: 0.5697 MB / 0.913 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.1638, allocations: 203.6 kB / 0.9132 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.62e-05/0.1639, allocations: 70.45 kB / 0.9133 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.809e-05/0.164, allocations: 24.27 kB / 0.9133 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.164, allocations: 38.84 kB / 0.9133 GB, free: 9.152 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 1.242e-06/0.164, allocations: 0 / 0.9133 GB, free: 9.152 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.0008128/0.1648, allocations: 0.5102 MB / 0.9138 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.1648, allocations: 55.41 kB / 0.9139 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.165, allocations: 246.9 kB / 0.9141 GB, free: 8.293 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.165, allocations: 37.7 kB / 0.9142 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.165, allocations: 157.2 kB / 0.9143 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.776e-05/0.1651, allocations: 126.8 kB / 0.9144 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/0.1652, allocations: 57.69 kB / 0.9145 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1653, allocations: 350.7 kB / 0.9148 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.551e-05/0.1653, allocations: 30.81 kB / 0.9148 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.534e-05/0.1654, allocations: 142.5 kB / 0.915 GB, free: 7.359 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.0002546/0.1657, allocations: 222.4 kB / 0.9152 GB, free: 7.137 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1657, allocations: 4 kB / 0.9152 GB, free: 7.133 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001616/0.1658, allocations: 149.4 kB / 0.9153 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.1659, allocations: 7.984 kB / 0.9153 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1659, allocations: 0 / 0.9153 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1659, allocations: 4 kB / 0.9153 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.166, allocations: 59.92 kB / 0.9154 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.166, allocations: 0 / 0.9154 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.1661, allocations: 19.92 kB / 0.9154 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.1661, allocations: 8 kB / 0.9154 GB, free: 6.883 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 9.079e-05/0.1662, allocations: 136.6 kB / 0.9156 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.998e-05/0.1663, allocations: 31.97 kB / 0.9156 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.1663, allocations: 43.03 kB / 0.9156 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1663, allocations: 4 kB / 0.9156 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.1663, allocations: 48 / 0.9156 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001492/0.1665, allocations: 236.4 kB / 0.9159 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000757/0.1672, allocations: 0.711 MB / 0.9166 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1672, allocations: 7.938 kB / 0.9166 GB, free: 5.594 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.1674, allocations: 75.89 kB / 0.9166 GB, free: 5.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1674, allocations: 11.94 kB / 0.9166 GB, free: 5.508 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.1674, allocations: 8 kB / 0.9167 GB, free: 5.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1674, allocations: 8.469 kB / 0.9167 GB, free: 5.492 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1674, allocations: 8 kB / 0.9167 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.1678, allocations: 492.2 kB / 0.9171 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.1678, allocations: 55.72 kB / 0.9172 GB, free: 4.875 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.1679, allocations: 8 kB / 0.9172 GB, free: 4.867 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.168, allocations: 14.44 kB / 0.9172 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.168, allocations: 31.89 kB / 0.9172 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.168, allocations: 19.98 kB / 0.9173 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.492e-05/0.1681, allocations: 88.67 kB / 0.9173 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1681, allocations: 0 / 0.9173 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002464/0.1683, allocations: 115.9 kB / 0.9175 GB, free: 4.602 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.0001678/0.1685, allocations: 120.2 kB / 0.9176 GB, free: 4.473 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.1687, allocations: 145 kB / 0.9177 GB, free: 4.328 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1687, allocations: 4.062 kB / 0.9177 GB, free: 4.324 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.387e-05/0.1688, allocations: 102.8 kB / 0.9178 GB, free: 4.223 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.1693, allocations: 194.8 kB / 0.918 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.1703, allocations: 0.8089 MB / 0.9188 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.818e-05/0.1704, allocations: 121.8 kB / 0.9189 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001299/0.1705, allocations: 50.94 kB / 0.919 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.1708, allocations: 169.3 kB / 0.9191 GB, free: 2.797 MB / 0.8698 GB Notification: Performance of SimCode: time 7.21e-07/0.1708, allocations: 3.938 kB / 0.9191 GB, free: 2.793 MB / 0.8698 GB Notification: Performance of Templates: time 0.008586/0.1794, allocations: 7.197 MB / 0.9261 GB, free: 11.79 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 -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.333048751112074]