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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001942/0.001942, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.002105/0.002105, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.483/1.483, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 482.4 MB / 0.755 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67 kB / 0.924 GB, free: 29.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3599, allocations: 162.2 MB / 1.082 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003289/0.3632, allocations: 1.667 MB / 1.084 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3649, allocations: 0.9115 MB / 1.085 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.024e-05/0.365, allocations: 4 kB / 1.085 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.234e-05/0.365, allocations: 7.938 kB / 1.085 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.3653, allocations: 23.84 kB / 1.085 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.3657, allocations: 119.8 kB / 1.085 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.3658, allocations: 83.64 kB / 1.085 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3659, allocations: 8 kB / 1.085 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.366, allocations: 31.92 kB / 1.085 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.3662, allocations: 35.84 kB / 1.085 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.3662, allocations: 4 kB / 1.085 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.3666, allocations: 283.6 kB / 1.086 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.3667, allocations: 11.94 kB / 1.086 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.3667, allocations: 35.73 kB / 1.086 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.3669, allocations: 100 kB / 1.086 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.367, allocations: 0 / 1.086 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.532e-06/0.367, allocations: 8 kB / 1.086 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.367, allocations: 0 / 1.086 GB, free: 10.3 MB / 0.8419 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.0006425/0.3676, allocations: 407.1 kB / 1.086 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3677, allocations: 8.031 kB / 1.086 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.3678, allocations: 8.844 kB / 1.086 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.368, allocations: 193.5 kB / 1.086 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.368, allocations: 8.375 kB / 1.086 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.3681, allocations: 4.375 kB / 1.086 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.3683, allocations: 61.98 kB / 1.086 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3683, allocations: 0 / 1.086 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3683, allocations: 4 kB / 1.086 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3683, allocations: 0 / 1.086 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.3685, allocations: 39.97 kB / 1.086 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.369, allocations: 312.6 kB / 1.087 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.3692, allocations: 50.55 kB / 1.087 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.709e-05/0.3693, allocations: 32.91 kB / 1.087 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.3693, allocations: 0 / 1.087 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.3693, allocations: 38.56 kB / 1.087 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.3693, allocations: 0 / 1.087 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5): time 0.0004003/0.3697, allocations: 105.5 kB / 1.087 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.3698, allocations: 55.41 kB / 1.087 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.3699, allocations: 127.4 kB / 1.087 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.3699, allocations: 29.7 kB / 1.087 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.37, allocations: 96.12 kB / 1.087 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.37, allocations: 15.75 kB / 1.087 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.3701, allocations: 21.7 kB / 1.087 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3703, allocations: 322.8 kB / 1.088 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.925e-05/0.3704, allocations: 23.97 kB / 1.088 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.135e-05/0.3704, allocations: 23.98 kB / 1.088 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3706, allocations: 57.2 kB / 1.088 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3706, allocations: 4 kB / 1.088 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002371/0.3709, allocations: 89.52 kB / 1.088 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3709, allocations: 4 kB / 1.088 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3709, allocations: 0 / 1.088 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3709, allocations: 4 kB / 1.088 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.371, allocations: 15.97 kB / 1.088 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3711, allocations: 0 / 1.088 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.887e-05/0.3711, allocations: 15.89 kB / 1.088 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.3712, allocations: 8 kB / 1.088 GB, free: 7.934 MB / 0.8419 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 9.77e-05/0.3713, allocations: 117.7 kB / 1.088 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.3713, allocations: 4 kB / 1.088 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.3716, allocations: 105.8 kB / 1.088 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3716, allocations: 0 / 1.088 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3716, allocations: 0 / 1.088 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3716, allocations: 0 / 1.088 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.3718, allocations: 185.6 kB / 1.088 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3718, allocations: 4 kB / 1.088 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.679e-05/0.3719, allocations: 11.98 kB / 1.088 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3719, allocations: 4 kB / 1.088 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.372, allocations: 0 / 1.088 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.372, allocations: 0 / 1.088 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.372, allocations: 3.938 kB / 1.088 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.3723, allocations: 195.3 kB / 1.088 GB, free: 7.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.3723, allocations: 85.2 kB / 1.088 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.3724, allocations: 11.98 kB / 1.088 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.587e-05/0.3724, allocations: 4 kB / 1.088 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.3725, allocations: 4 kB / 1.088 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.3725, allocations: 3.984 kB / 1.088 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.632e-05/0.3726, allocations: 101.3 kB / 1.089 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3726, allocations: 0 / 1.089 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002442/0.3728, allocations: 24 kB / 1.089 GB, free: 6.984 MB / 0.8419 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.0002169/0.3731, allocations: 127.2 kB / 1.089 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.3733, allocations: 59.84 kB / 1.089 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3733, allocations: 0 / 1.089 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.749e-05/0.3734, allocations: 27.98 kB / 1.089 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.3738, allocations: 11.98 kB / 1.089 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.3743, allocations: 230 kB / 1.089 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.3746, allocations: 0.6924 MB / 1.09 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.3747, allocations: 19.42 kB / 1.09 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.3747, allocations: 0 / 1.09 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of Templates: time 0.003111/0.3778, allocations: 1.114 MB / 1.091 GB, free: 4.652 MB / 0.8419 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=400 -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