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.006425/0.006425, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001365/0.001365, allocations: 202.1 kB / 16.68 MB, free: 5.926 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.317/1.317, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.546/2.546, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 75.89 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003661/1.008, allocations: 1.604 MB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001819/1.01, allocations: 0.9075 MB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/1.01, allocations: 3.938 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.747e-05/1.01, allocations: 3.938 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002808/1.011, allocations: 19.8 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/1.011, allocations: 154.4 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/1.011, allocations: 79.64 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/1.012, allocations: 12 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/1.012, allocations: 27.91 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/1.012, allocations: 39.84 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/1.012, allocations: 4 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005552/1.012, allocations: 287.6 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.816e-05/1.013, allocations: 15.92 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.051e-05/1.013, allocations: 27.86 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004646/1.013, allocations: 159.3 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.976e-06/1.013, allocations: 0 / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.665e-06/1.013, allocations: 0 / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.293e-05/1.013, allocations: 0 / 1.211 GB, free: 10.23 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.001015/1.014, allocations: 409 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.948e-05/1.014, allocations: 12.03 kB / 1.211 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002518/1.014, allocations: 16.83 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004858/1.015, allocations: 180.2 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/1.015, allocations: 8.375 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/1.015, allocations: 384 / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/1.015, allocations: 65.97 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/1.015, allocations: 4 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/1.015, allocations: 0 / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/1.015, allocations: 4 kB / 1.212 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/1.016, allocations: 39.97 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007079/1.016, allocations: 308.6 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/1.017, allocations: 50.56 kB / 1.212 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/1.017, allocations: 24.97 kB / 1.212 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/1.017, allocations: 4 kB / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/1.017, allocations: 34.56 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.873e-06/1.017, allocations: 0 / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0004937/1.017, allocations: 113.5 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/1.017, allocations: 51.41 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/1.018, allocations: 139.6 kB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/1.018, allocations: 25.7 kB / 1.212 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/1.018, allocations: 92.12 kB / 1.213 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/1.018, allocations: 19.75 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.041e-05/1.018, allocations: 13.72 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001885/1.018, allocations: 330.8 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.62e-05/1.018, allocations: 19.98 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.843e-05/1.018, allocations: 23.98 kB / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/1.018, allocations: 56.77 kB / 1.213 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.018, allocations: 384 / 1.213 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000274/1.019, allocations: 93.56 kB / 1.213 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/1.019, allocations: 8 kB / 1.213 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.019, allocations: 0 / 1.213 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/1.019, allocations: 0 / 1.213 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/1.019, allocations: 15.98 kB / 1.213 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/1.019, allocations: 0 / 1.213 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.632e-05/1.019, allocations: 8 kB / 1.213 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/1.019, allocations: 7.969 kB / 1.213 GB, free: 7.879 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 0.0001494/1.019, allocations: 117.8 kB / 1.213 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/1.019, allocations: 11.84 kB / 1.213 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/1.02, allocations: 109.8 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/1.02, allocations: 0 / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/1.02, allocations: 0 / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/1.02, allocations: 0 / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/1.02, allocations: 189.5 kB / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.02, allocations: 0 / 1.214 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.046e-05/1.02, allocations: 11.98 kB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/1.02, allocations: 0 / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/1.02, allocations: 8 kB / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.02, allocations: 0 / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.02, allocations: 0 / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/1.021, allocations: 195.3 kB / 1.214 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.399e-05/1.021, allocations: 81.11 kB / 1.214 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/1.021, allocations: 4 kB / 1.214 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.104e-05/1.021, allocations: 7.984 kB / 1.214 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/1.021, allocations: 4 kB / 1.214 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/1.021, allocations: 4.188 kB / 1.214 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.058e-05/1.021, allocations: 104.9 kB / 1.214 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.605e-06/1.021, allocations: 0 / 1.214 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002956/1.021, allocations: 31.92 kB / 1.214 GB, free: 6.914 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.000319/1.022, allocations: 111.3 kB / 1.214 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002835/1.022, allocations: 71.83 kB / 1.214 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.022, allocations: 0 / 1.214 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.73e-05/1.022, allocations: 27.98 kB / 1.214 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/1.022, allocations: 12 kB / 1.214 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006748/1.023, allocations: 192.3 kB / 1.214 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/1.023, allocations: 0.6924 MB / 1.215 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.378e-05/1.024, allocations: 4 kB / 1.215 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.939e-05/1.024, allocations: 11.44 kB / 1.215 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of SimCode: time 7.61e-07/1.024, allocations: 0 / 1.215 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of Templates: time 0.005097/1.029, allocations: 1.114 MB / 1.216 GB, free: 4.633 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/jenkins/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