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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0008268/0.000827, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008174/0.008174, allocations: 172.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.828/2.828, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004216, allocations: 16.34 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3721, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1765/0.5486, allocations: 155.8 MB / 1.211 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005339/0.554, allocations: 3.786 MB / 1.215 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005853/0.5546, allocations: 11.88 kB / 1.215 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006741/0.5553, allocations: 147.1 kB / 1.215 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.5577, allocations: 0.7937 MB / 1.215 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.5588, allocations: 393.9 kB / 1.216 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00177/0.5606, allocations: 1.393 MB / 1.217 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005195/0.5611, allocations: 244.9 kB / 1.217 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009375/0.562, allocations: 354.4 kB / 1.218 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.5633, allocations: 333.2 kB / 1.218 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.516e-05/0.5634, allocations: 12 kB / 1.218 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.565, allocations: 0.8494 MB / 1.219 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.5652, allocations: 147.6 kB / 1.219 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000323/0.5655, allocations: 220.6 kB / 1.219 GB, free: 396 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.5668, allocations: 0.7788 MB / 1.22 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5668, allocations: 0 / 1.22 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5668, allocations: 0 / 1.22 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.5669, allocations: 0 / 1.22 GB, free: 15.61 MB / 0.9825 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.001171/0.568, allocations: 0.6623 MB / 1.221 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.5681, allocations: 8.031 kB / 1.221 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.5692, allocations: 147.4 kB / 1.221 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006256/0.5698, allocations: 386.4 kB / 1.221 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.5699, allocations: 20.66 kB / 1.221 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/0.5699, allocations: 32 kB / 1.221 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.5706, allocations: 330 kB / 1.222 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.5706, allocations: 4 kB / 1.222 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.5706, allocations: 12 kB / 1.222 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.5707, allocations: 8 kB / 1.222 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/0.5713, allocations: 314.4 kB / 1.222 GB, free: 13.61 MB / 0.9825 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.002056/0.5733, allocations: 1.209 MB / 1.223 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.5738, allocations: 291.4 kB / 1.223 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.5741, allocations: 190.5 kB / 1.224 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002902/0.5744, allocations: 194.5 kB / 1.224 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.5745, allocations: 38.84 kB / 1.224 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 4.919e-06/0.5745, allocations: 3.984 kB / 1.224 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.002225/0.5767, allocations: 1.061 MB / 1.225 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.5768, allocations: 55.41 kB / 1.225 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.5771, allocations: 316.5 kB / 1.225 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.5772, allocations: 37.7 kB / 1.225 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.5773, allocations: 172.8 kB / 1.225 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.5774, allocations: 122.2 kB / 1.225 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.5775, allocations: 29.7 kB / 1.225 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5776, allocations: 346.8 kB / 1.226 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.5779, allocations: 115.9 kB / 1.226 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.5782, allocations: 179.7 kB / 1.226 GB, free: 9.016 MB / 0.9825 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.001821/0.58, allocations: 0.776 MB / 1.227 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.58, allocations: 4 kB / 1.227 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006159/0.5806, allocations: 364.8 kB / 1.227 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.5807, allocations: 13.81 kB / 1.227 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.5807, allocations: 0 / 1.227 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5807, allocations: 3.938 kB / 1.227 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.581, allocations: 71.94 kB / 1.227 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.581, allocations: 3.984 kB / 1.227 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/0.5814, allocations: 23.92 kB / 1.227 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.5815, allocations: 16 kB / 1.227 GB, free: 7.719 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002174/0.5817, allocations: 173.8 kB / 1.228 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.5818, allocations: 39.53 kB / 1.228 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.5819, allocations: 52.06 kB / 1.228 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5819, allocations: 7.938 kB / 1.228 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.5819, allocations: 0 / 1.228 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005946/0.5825, allocations: 412.5 kB / 1.228 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.5843, allocations: 1.073 MB / 1.229 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.5843, allocations: 8.062 kB / 1.229 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/0.5847, allocations: 83.89 kB / 1.229 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/0.5847, allocations: 8 kB / 1.229 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.5847, allocations: 8 kB / 1.229 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/0.5847, allocations: 11.94 kB / 1.229 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.5848, allocations: 7.938 kB / 1.229 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.5858, allocations: 0.7008 MB / 1.23 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/0.586, allocations: 144.7 kB / 1.23 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.5861, allocations: 15.88 kB / 1.23 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.5865, allocations: 32.53 kB / 1.23 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.5865, allocations: 31.97 kB / 1.23 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.5866, allocations: 23.92 kB / 1.23 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002467/0.5868, allocations: 231 kB / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5868, allocations: 0 / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005019/0.5873, allocations: 112 kB / 1.23 GB, free: 4.348 MB / 0.9825 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.0004186/0.5878, allocations: 156.5 kB / 1.231 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006369/0.5884, allocations: 311.6 kB / 1.231 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5884, allocations: 0 / 1.231 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.5888, allocations: 176.7 kB / 1.231 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.5901, allocations: 207.8 kB / 1.231 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.592, allocations: 1.164 MB / 1.232 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.5925, allocations: 0.8273 MB / 1.233 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004057/0.5929, allocations: 111.2 kB / 1.233 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.593, allocations: 39.42 kB / 1.233 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of SimCode: time 1.683e-06/0.593, allocations: 0 / 1.233 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of Templates: time 0.01428/0.6073, allocations: 6.984 MB / 1.24 GB, free: 10.39 MB / 0.9981 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