Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001106/0.001106, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001341/0.001341, allocations: 172.7 kB / 15.95 MB, free: 208 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.518/1.518, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.928/2.928, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003852, allocations: 12 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8636/0.864, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent): time 0.1831/1.047, allocations: 145.4 MB / 1.164 GB, free: 14.24 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0051/1.052, allocations: 3.541 MB / 1.168 GB, free: 10.7 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006481/1.053, allocations: 11.94 kB / 1.168 GB, free: 10.68 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005678/1.054, allocations: 135.1 kB / 1.168 GB, free: 10.55 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/1.055, allocations: 0.6142 MB / 1.169 GB, free: 9.934 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009289/1.056, allocations: 339.3 kB / 1.169 GB, free: 9.609 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001331/1.058, allocations: 1.163 MB / 1.17 GB, free: 8.445 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00042/1.058, allocations: 228.7 kB / 1.17 GB, free: 8.219 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006895/1.059, allocations: 362.5 kB / 1.171 GB, free: 7.863 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/1.059, allocations: 310.8 kB / 1.171 GB, free: 7.559 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.611e-05/1.059, allocations: 16 kB / 1.171 GB, free: 7.543 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009232/1.06, allocations: 383.1 kB / 1.171 GB, free: 7.168 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001905/1.06, allocations: 147.6 kB / 1.171 GB, free: 7.023 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/1.061, allocations: 101.5 kB / 1.172 GB, free: 6.918 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006169/1.061, allocations: 0.491 MB / 1.172 GB, free: 6.426 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.061, allocations: 0 / 1.172 GB, free: 6.426 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.903e-06/1.061, allocations: 0 / 1.172 GB, free: 6.426 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.293e-06/1.061, allocations: 4 kB / 1.172 GB, free: 6.422 MB / 0.92 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.001132/1.062, allocations: 0.6585 MB / 1.173 GB, free: 5.715 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/1.062, allocations: 12.02 kB / 1.173 GB, free: 5.703 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/1.063, allocations: 159.2 kB / 1.173 GB, free: 5.547 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005441/1.064, allocations: 362.8 kB / 1.173 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/1.064, allocations: 20.66 kB / 1.173 GB, free: 5.129 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/1.064, allocations: 28 kB / 1.173 GB, free: 5.102 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006046/1.065, allocations: 334 kB / 1.174 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/1.065, allocations: 0 / 1.174 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/1.065, allocations: 16 kB / 1.174 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/1.065, allocations: 4 kB / 1.174 GB, free: 4.754 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005307/1.065, allocations: 314.4 kB / 1.174 GB, free: 4.445 MB / 0.92 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.001691/1.067, allocations: 1.213 MB / 1.175 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/1.068, allocations: 291.4 kB / 1.175 GB, free: 2.828 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/1.068, allocations: 186.9 kB / 1.175 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/1.068, allocations: 190.5 kB / 1.176 GB, free: 2.422 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/1.068, allocations: 42.84 kB / 1.176 GB, free: 2.371 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/1.068, allocations: 3.938 kB / 1.176 GB, free: 2.367 MB / 0.92 GB Notification: Performance of matching and sorting (n=35): time 0.002053/1.07, allocations: 1.05 MB / 1.177 GB, free: 1.266 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/1.07, allocations: 55.41 kB / 1.177 GB, free: 1.199 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/1.071, allocations: 312.5 kB / 1.177 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/1.071, allocations: 33.7 kB / 1.177 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/1.071, allocations: 184.7 kB / 1.177 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/1.071, allocations: 118.3 kB / 1.177 GB, free: 0.543 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/1.071, allocations: 4 kB / 1.177 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.071, allocations: 346.8 kB / 1.178 GB, free: 196 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/1.071, allocations: 119.9 kB / 1.178 GB, free: 76 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/1.072, allocations: 170.2 kB / 1.178 GB, free: 15.9 MB / 0.9356 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.001261/1.073, allocations: 0.517 MB / 1.178 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/1.073, allocations: 0 / 1.178 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005962/1.074, allocations: 361 kB / 1.179 GB, free: 15 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/1.074, allocations: 7.938 kB / 1.179 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.074, allocations: 0 / 1.179 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/1.074, allocations: 11.89 kB / 1.179 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/1.074, allocations: 63.97 kB / 1.179 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/1.074, allocations: 3.938 kB / 1.179 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/1.074, allocations: 27.98 kB / 1.179 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/1.074, allocations: 8 kB / 1.179 GB, free: 14.88 MB / 0.9356 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.0001964/1.074, allocations: 177.7 kB / 1.179 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/1.075, allocations: 35.53 kB / 1.179 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/1.075, allocations: 52.06 kB / 1.179 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/1.075, allocations: 7.953 kB / 1.179 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.075, allocations: 0 / 1.179 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005826/1.075, allocations: 416.8 kB / 1.18 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/1.077, allocations: 1.065 MB / 1.181 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/1.077, allocations: 11.98 kB / 1.181 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/1.077, allocations: 87.84 kB / 1.181 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/1.077, allocations: 4 kB / 1.181 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/1.077, allocations: 15.98 kB / 1.181 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/1.077, allocations: 4.469 kB / 1.181 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.077, allocations: 8 kB / 1.181 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009548/1.078, allocations: 0.6992 MB / 1.181 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/1.079, allocations: 148.6 kB / 1.182 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/1.079, allocations: 11.98 kB / 1.182 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/1.079, allocations: 35.92 kB / 1.182 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/1.079, allocations: 27.92 kB / 1.182 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/1.079, allocations: 19.94 kB / 1.182 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002297/1.079, allocations: 227 kB / 1.182 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.079, allocations: 0 / 1.182 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004745/1.08, allocations: 116 kB / 1.182 GB, free: 11.52 MB / 0.9356 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.0004033/1.08, allocations: 168.2 kB / 1.182 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005895/1.081, allocations: 305.2 kB / 1.182 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.081, allocations: 4.062 kB / 1.182 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002782/1.081, allocations: 171.6 kB / 1.183 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/1.082, allocations: 209 kB / 1.183 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/1.084, allocations: 1.148 MB / 1.184 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/1.084, allocations: 0.8235 MB / 1.185 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003686/1.085, allocations: 103.2 kB / 1.185 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.442e-05/1.085, allocations: 31.44 kB / 1.185 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of SimCode: time 7.21e-07/1.085, allocations: 0 / 1.185 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of Templates: time 0.01313/1.098, allocations: 6.764 MB / 1.192 GB, free: 1.832 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_ConservationEquationSensibleLatent.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.ConservationEquationSensibleLatent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches