Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 105 kB / 16.41 MB, free: 6.457 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.001537/0.001537, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 63.91 kB / 1.055 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9649/0.9665, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003438/0.97, allocations: 1.613 MB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.9717, allocations: 0.9076 MB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.9718, allocations: 0 / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/0.9719, allocations: 7.875 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.9721, allocations: 27.78 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.9726, allocations: 139.6 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.9728, allocations: 75.7 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.9729, allocations: 11.98 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.9731, allocations: 35.8 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.9732, allocations: 43.84 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.9733, allocations: 4 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004443/0.9737, allocations: 287.6 kB / 1.212 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.9737, allocations: 11.98 kB / 1.212 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.9738, allocations: 31.8 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.9741, allocations: 147.5 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9741, allocations: 0 / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9741, allocations: 0 / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.9741, allocations: 0 / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006298/0.9748, allocations: 413 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.9748, allocations: 12.03 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.975, allocations: 8.844 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.9753, allocations: 193.7 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.9753, allocations: 8.359 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.9753, allocations: 384 / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.9755, allocations: 65.98 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.9755, allocations: 4 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.9756, allocations: 4 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.9756, allocations: 0 / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.9757, allocations: 43.95 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.9762, allocations: 296.7 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.9764, allocations: 58.55 kB / 1.213 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.098e-05/0.9765, allocations: 28.97 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.9765, allocations: 0 / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.9766, allocations: 30.56 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.9766, allocations: 0 / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0003537/0.9769, allocations: 117.5 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.977, allocations: 55.41 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.9771, allocations: 132 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.9771, allocations: 25.7 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.411e-05/0.9772, allocations: 96.14 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.9772, allocations: 7.812 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.9773, allocations: 21.7 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.9774, allocations: 330.8 kB / 1.214 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/0.9775, allocations: 19.98 kB / 1.214 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/0.9775, allocations: 19.98 kB / 1.214 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.9777, allocations: 61.2 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.9777, allocations: 0 / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002193/0.9779, allocations: 89.52 kB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.9779, allocations: 8 kB / 1.214 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.978, allocations: 3.984 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.978, allocations: 4 kB / 1.214 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.9781, allocations: 8 kB / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.9781, allocations: 7.922 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.9782, allocations: 4 kB / 1.214 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.9782, allocations: 7.938 kB / 1.214 GB, free: 7.855 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 8.888e-05/0.9783, allocations: 113.8 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.377e-05/0.9784, allocations: 11.91 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.9786, allocations: 109.8 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.9786, allocations: 0 / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.9786, allocations: 0 / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.9786, allocations: 0 / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.9788, allocations: 193.5 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9789, allocations: 0 / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-05/0.9789, allocations: 15.97 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.979, allocations: 8 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.979, allocations: 3.984 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.979, allocations: 0 / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.979, allocations: 0 / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.9793, allocations: 187.3 kB / 1.214 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.9793, allocations: 85.28 kB / 1.214 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.9793, allocations: 4 kB / 1.214 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.9794, allocations: 12 kB / 1.214 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.9795, allocations: 7.984 kB / 1.215 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.9795, allocations: 0 / 1.215 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.726e-05/0.9796, allocations: 103.2 kB / 1.215 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9796, allocations: 0 / 1.215 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002553/0.9798, allocations: 24 kB / 1.215 GB, free: 6.891 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 6 * 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.0002215/0.9801, allocations: 111.2 kB / 1.215 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.9803, allocations: 59.91 kB / 1.215 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.9803, allocations: 0 / 1.215 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.168e-05/0.9804, allocations: 31.92 kB / 1.215 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.9807, allocations: 11.98 kB / 1.215 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004919/0.9812, allocations: 206 kB / 1.215 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.9815, allocations: 0.7001 MB / 1.216 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.9815, allocations: 15.42 kB / 1.216 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.9815, allocations: 4 kB / 1.216 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of Templates: time 0.003097/0.9846, allocations: 1.118 MB / 1.217 GB, free: 4.586 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches