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.007846/0.007846, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001262/0.001262, allocations: 191.5 kB / 16.67 MB, free: 5.969 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.585/2.585, allocations: 461.9 MB / 0.7347 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 1.054 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.054, allocations: 157.4 MB / 1.208 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003715/1.058, allocations: 1.614 MB / 1.209 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00174/1.06, allocations: 0.9114 MB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.446e-05/1.06, allocations: 0 / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.545e-05/1.06, allocations: 3.938 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002837/1.06, allocations: 23.78 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/1.061, allocations: 143.6 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001767/1.061, allocations: 75.66 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/1.061, allocations: 19.97 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/1.061, allocations: 23.92 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/1.061, allocations: 39.78 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/1.061, allocations: 8 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004477/1.062, allocations: 283.6 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/1.062, allocations: 15.92 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/1.062, allocations: 35.8 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002742/1.062, allocations: 149.5 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/1.062, allocations: 0 / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.394e-06/1.062, allocations: 0 / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.137e-06/1.062, allocations: 0 / 1.211 GB, free: 10.43 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.0006657/1.063, allocations: 403.1 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/1.063, allocations: 12.03 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/1.063, allocations: 16.83 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/1.063, allocations: 184.2 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.916e-06/1.063, allocations: 4.375 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/1.063, allocations: 8.312 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/1.063, allocations: 69.91 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/1.063, allocations: 0 / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/1.064, allocations: 4 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/1.064, allocations: 0 / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/1.064, allocations: 47.95 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/1.064, allocations: 296.7 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/1.064, allocations: 54.5 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/1.064, allocations: 36.91 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/1.064, allocations: 0 / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/1.064, allocations: 34.56 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/1.064, allocations: 0 / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0003927/1.065, allocations: 105.5 kB / 1.212 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/1.065, allocations: 51.41 kB / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/1.065, allocations: 135.9 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/1.065, allocations: 29.7 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/1.065, allocations: 96.08 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/1.065, allocations: 11.8 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/1.065, allocations: 17.72 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001192/1.065, allocations: 330.7 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.207e-05/1.065, allocations: 19.98 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.434e-05/1.065, allocations: 27.98 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/1.066, allocations: 52.83 kB / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.066, allocations: 0 / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001912/1.066, allocations: 93.98 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/1.066, allocations: 4 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/1.066, allocations: 3.984 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.066, allocations: 4 kB / 1.213 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/1.066, allocations: 23.92 kB / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/1.066, allocations: 0 / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.852e-05/1.066, allocations: 8 kB / 1.213 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/1.066, allocations: 4 kB / 1.213 GB, free: 8.059 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 7.89e-05/1.066, allocations: 117.8 kB / 1.213 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/1.066, allocations: 7.906 kB / 1.213 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/1.066, allocations: 93.97 kB / 1.213 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/1.066, allocations: 4 kB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/1.066, allocations: 0 / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/1.066, allocations: 3.984 kB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/1.067, allocations: 197.5 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/1.067, allocations: 0 / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.059e-05/1.067, allocations: 15.92 kB / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.067, allocations: 4 kB / 1.214 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/1.067, allocations: 3.938 kB / 1.214 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.067, allocations: 0 / 1.214 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/1.067, allocations: 3.938 kB / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/1.067, allocations: 191.4 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/1.067, allocations: 81.11 kB / 1.214 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/1.067, allocations: 4 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/1.067, allocations: 4 kB / 1.214 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/1.067, allocations: 3.984 kB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/1.067, allocations: 4 kB / 1.214 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.718e-05/1.067, allocations: 108.9 kB / 1.214 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.067, allocations: 0 / 1.214 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002502/1.068, allocations: 23.98 kB / 1.214 GB, free: 7.102 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.0002208/1.068, allocations: 115.2 kB / 1.214 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002194/1.068, allocations: 59.89 kB / 1.214 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.068, allocations: 0 / 1.214 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.24e-05/1.068, allocations: 36.17 kB / 1.214 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/1.068, allocations: 16.12 kB / 1.214 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/1.069, allocations: 180.3 kB / 1.214 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/1.069, allocations: 0.6885 MB / 1.215 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.461e-05/1.069, allocations: 8 kB / 1.215 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/1.069, allocations: 11.44 kB / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/1.069, allocations: 0 / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of Templates: time 0.003933/1.073, allocations: 1.107 MB / 1.216 GB, free: 4.84 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