Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynBal.Q_flow|dynBal.mWat_flow|dynBal.medium.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008257/0.0008257, allocations: 85.94 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009076/0.0009076, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.835/2.835, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 10.19 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3645, allocations: 159.6 MB / 1.058 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1748/0.5394, allocations: 145.4 MB / 1.2 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005259/0.5447, allocations: 3.551 MB / 1.203 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005821/0.5453, allocations: 11.94 kB / 1.203 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006276/0.546, allocations: 127.1 kB / 1.204 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00199/0.548, allocations: 0.6172 MB / 1.204 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.549, allocations: 338.8 kB / 1.205 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001534/0.5505, allocations: 1.178 MB / 1.206 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004215/0.551, allocations: 228.6 kB / 1.206 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000756/0.5517, allocations: 350.5 kB / 1.206 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005241/0.5523, allocations: 314.8 kB / 1.207 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.523e-05/0.5523, allocations: 16 kB / 1.207 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.5534, allocations: 379.1 kB / 1.207 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.5535, allocations: 147.5 kB / 1.207 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.751e-05/0.5536, allocations: 101.5 kB / 1.207 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006212/0.5543, allocations: 494.9 kB / 1.208 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/0.5543, allocations: 0 / 1.208 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5543, allocations: 0 / 1.208 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.5543, allocations: 0 / 1.208 GB, free: 11.7 MB / 0.9669 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.001109/0.5554, allocations: 0.6739 MB / 1.208 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.5555, allocations: 8.031 kB / 1.208 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.5565, allocations: 143.4 kB / 1.208 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006315/0.5572, allocations: 370.7 kB / 1.209 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.5572, allocations: 24.66 kB / 1.209 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.774e-05/0.5573, allocations: 28 kB / 1.209 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005769/0.5579, allocations: 334 kB / 1.209 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.5579, allocations: 7.922 kB / 1.209 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.5579, allocations: 11.94 kB / 1.209 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.5579, allocations: 8 kB / 1.209 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000616/0.5586, allocations: 322.3 kB / 1.209 GB, free: 9.691 MB / 0.9669 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.0017/0.5603, allocations: 1.201 MB / 1.211 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/0.5607, allocations: 291.3 kB / 1.211 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002811/0.561, allocations: 191 kB / 1.211 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002722/0.5613, allocations: 190.5 kB / 1.211 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.5614, allocations: 34.84 kB / 1.211 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 2.033e-06/0.5614, allocations: 4 kB / 1.211 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35): time 0.002083/0.5635, allocations: 1.055 MB / 1.212 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.5635, allocations: 55.41 kB / 1.212 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.5638, allocations: 316.5 kB / 1.213 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.5639, allocations: 33.7 kB / 1.213 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.5641, allocations: 180.7 kB / 1.213 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.466e-05/0.5642, allocations: 106.3 kB / 1.213 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.5642, allocations: 12 kB / 1.213 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5644, allocations: 346.8 kB / 1.213 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.5646, allocations: 119.9 kB / 1.213 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.5649, allocations: 162.2 kB / 1.214 GB, free: 5.172 MB / 0.9669 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.001448/0.5664, allocations: 0.5168 MB / 1.214 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5664, allocations: 0 / 1.214 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005927/0.567, allocations: 362.2 kB / 1.214 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.567, allocations: 13.67 kB / 1.214 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.5671, allocations: 0 / 1.214 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5671, allocations: 0 / 1.214 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.5674, allocations: 75.94 kB / 1.215 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.5674, allocations: 0 / 1.215 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003092/0.5677, allocations: 25.05 kB / 1.215 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.5678, allocations: 12 kB / 1.215 GB, free: 4.16 MB / 0.9669 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001932/0.568, allocations: 181.7 kB / 1.215 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.568, allocations: 39.47 kB / 1.215 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.5682, allocations: 56.02 kB / 1.215 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5682, allocations: 4 kB / 1.215 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.5682, allocations: 0 / 1.215 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000573/0.5688, allocations: 416 kB / 1.215 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.5704, allocations: 1.069 MB / 1.216 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.5704, allocations: 12.05 kB / 1.216 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.5708, allocations: 79.91 kB / 1.216 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.5708, allocations: 11.94 kB / 1.216 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.5708, allocations: 15.98 kB / 1.216 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.634e-06/0.5708, allocations: 11.94 kB / 1.216 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5708, allocations: 4 kB / 1.216 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009826/0.5718, allocations: 0.6936 MB / 1.217 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.572, allocations: 140.6 kB / 1.217 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.5721, allocations: 15.98 kB / 1.217 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/0.5724, allocations: 19.98 kB / 1.217 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/0.5725, allocations: 39.92 kB / 1.217 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.5725, allocations: 16 kB / 1.217 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002336/0.5728, allocations: 227 kB / 1.218 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5728, allocations: 0 / 1.218 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004681/0.5732, allocations: 108 kB / 1.218 GB, free: 0.8047 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004177/0.5737, allocations: 175.5 kB / 1.218 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005915/0.5743, allocations: 312.2 kB / 1.218 GB, free: 332 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5743, allocations: 4 kB / 1.218 GB, free: 328 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.5746, allocations: 168.7 kB / 1.218 GB, free: 160 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.5757, allocations: 213.9 kB / 1.218 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.5774, allocations: 1.143 MB / 1.22 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/0.5778, allocations: 0.8235 MB / 1.22 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003573/0.5782, allocations: 115.2 kB / 1.22 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.569e-05/0.5783, allocations: 31.44 kB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.5783, allocations: 0 / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of Templates: time 0.01297/0.5913, allocations: 6.765 MB / 1.227 GB, free: 7.09 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches