Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001393/0.001393, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001485/0.001485, allocations: 193.7 kB / 16.25 MB, free: 6.637 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.891/2.891, allocations: 469.8 MB / 0.7421 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 66.33 kB / 0.908 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3273, allocations: 159.2 MB / 1.063 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1826/0.51, allocations: 157.9 MB / 1.218 GB, free: 52 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005224/0.5152, allocations: 3.782 MB / 1.221 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002949/0.5156, allocations: 11.94 kB / 1.221 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005858/0.5162, allocations: 159.1 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.5181, allocations: 0.7937 MB / 1.222 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009024/0.519, allocations: 384.4 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001242/0.5203, allocations: 1.026 MB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004244/0.5207, allocations: 280.9 kB / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006512/0.5214, allocations: 406.4 kB / 1.224 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008711/0.5223, allocations: 347.6 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.456e-05/0.5223, allocations: 32 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.5235, allocations: 0.7442 MB / 1.225 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.5237, allocations: 167.5 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.524, allocations: 215 kB / 1.226 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.525, allocations: 0.7945 MB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.525, allocations: 0 / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.525, allocations: 0 / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.525, allocations: 0 / 1.227 GB, free: 6.93 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.00119/0.5262, allocations: 0.7363 MB / 1.227 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.5263, allocations: 8.031 kB / 1.227 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.5273, allocations: 147.3 kB / 1.227 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005602/0.5279, allocations: 382.5 kB / 1.228 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.5279, allocations: 20.66 kB / 1.228 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.766e-05/0.528, allocations: 36 kB / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/0.5286, allocations: 322 kB / 1.228 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.5287, allocations: 0 / 1.228 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.5287, allocations: 16 kB / 1.228 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.5287, allocations: 8 kB / 1.228 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005626/0.5293, allocations: 310.3 kB / 1.228 GB, free: 4.875 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.001768/0.5311, allocations: 1.205 MB / 1.23 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.5316, allocations: 291.4 kB / 1.23 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.5319, allocations: 191.5 kB / 1.23 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002893/0.5322, allocations: 186.5 kB / 1.23 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.5322, allocations: 38.84 kB / 1.23 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 1.633e-06/0.5322, allocations: 3.938 kB / 1.23 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.002234/0.5345, allocations: 1.038 MB / 1.231 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.5345, allocations: 55.41 kB / 1.231 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.5349, allocations: 324.5 kB / 1.232 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.535, allocations: 29.7 kB / 1.232 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.5352, allocations: 180.8 kB / 1.232 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.5353, allocations: 122.1 kB / 1.232 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.5355, allocations: 65.69 kB / 1.232 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000214/0.5357, allocations: 346.8 kB / 1.232 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.5359, allocations: 111.7 kB / 1.233 GB, free: 476 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.5362, allocations: 168 kB / 1.233 GB, free: 300 kB / 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.002005/0.5382, allocations: 0.7602 MB / 1.233 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.5382, allocations: 0 / 1.233 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007313/0.539, allocations: 357 kB / 1.234 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.539, allocations: 4 kB / 1.234 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.539, allocations: 4 kB / 1.234 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.5391, allocations: 3.938 kB / 1.234 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.5394, allocations: 67.91 kB / 1.234 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.5395, allocations: 0 / 1.234 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/0.5399, allocations: 29.89 kB / 1.234 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/0.5399, allocations: 12 kB / 1.234 GB, free: 15.04 MB / 0.9981 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.0003382/0.5403, allocations: 175.8 kB / 1.234 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.615e-05/0.5404, allocations: 39.53 kB / 1.234 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.5405, allocations: 48.06 kB / 1.234 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.5406, allocations: 7.938 kB / 1.234 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.5406, allocations: 0 / 1.234 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006743/0.5412, allocations: 412.2 kB / 1.235 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.5431, allocations: 1.061 MB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.5432, allocations: 4 kB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.5435, allocations: 84.38 kB / 1.236 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/0.5435, allocations: 12.02 kB / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/0.5436, allocations: 15.94 kB / 1.236 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.5436, allocations: 11.92 kB / 1.236 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.5436, allocations: 4 kB / 1.236 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.5446, allocations: 0.6839 MB / 1.236 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.5448, allocations: 144.6 kB / 1.237 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.653e-05/0.5449, allocations: 15.94 kB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.5452, allocations: 35.89 kB / 1.237 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.618e-05/0.5453, allocations: 27.91 kB / 1.237 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.5454, allocations: 19.94 kB / 1.237 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002444/0.5456, allocations: 235 kB / 1.237 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5456, allocations: 0 / 1.237 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004614/0.5461, allocations: 108 kB / 1.237 GB, free: 11.7 MB / 0.9981 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.0004097/0.5465, allocations: 173.2 kB / 1.237 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006152/0.5471, allocations: 319.7 kB / 1.237 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5471, allocations: 0 / 1.237 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.5474, allocations: 178 kB / 1.238 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.5486, allocations: 218.1 kB / 1.238 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.5503, allocations: 1.086 MB / 1.239 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.5508, allocations: 0.8274 MB / 1.24 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003745/0.5512, allocations: 107.2 kB / 1.24 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.5513, allocations: 31.44 kB / 1.24 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of SimCode: time 9.21e-07/0.5513, allocations: 4 kB / 1.24 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of Templates: time 0.01473/0.566, allocations: 7.319 MB / 1.247 GB, free: 1.477 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches