Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_11_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_11_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.001543/0.001543, allocations: 109.6 kB / 15.99 MB, free: 5.914 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.001702/0.001702, allocations: 192.3 kB / 16.91 MB, free: 5.754 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.463/1.463, allocations: 222.9 MB / 240.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.682/2.682, allocations: 469.8 MB / 0.7427 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 68.11 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3729, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003735/0.3767, allocations: 1.681 MB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.3785, allocations: 0.8999 MB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.3787, allocations: 0 / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.861e-05/0.3787, allocations: 3.938 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.3791, allocations: 23.84 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.3796, allocations: 131.1 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.3798, allocations: 83.64 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3799, allocations: 12 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.38, allocations: 23.92 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.3802, allocations: 39.83 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.3802, allocations: 4 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004974/0.3807, allocations: 283.6 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.855e-05/0.3807, allocations: 7.938 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.3808, allocations: 35.8 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.3811, allocations: 108 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3811, allocations: 0 / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.494e-06/0.3811, allocations: 0 / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.3811, allocations: 3.938 kB / 1.067 GB, free: 11.74 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.0007266/0.3818, allocations: 407.1 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3819, allocations: 8.031 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.3821, allocations: 16.84 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.3823, allocations: 188.2 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3823, allocations: 384 / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.3823, allocations: 4.375 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.3826, allocations: 61.98 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3826, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3826, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3826, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.3828, allocations: 55.78 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.3833, allocations: 304.7 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.3835, allocations: 54.55 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.52e-05/0.3836, allocations: 28.97 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.3836, allocations: 4 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.3836, allocations: 34.56 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3836, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5): time 0.0004036/0.3841, allocations: 101.6 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.3841, allocations: 55.39 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3843, allocations: 132.6 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.3843, allocations: 29.7 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.3844, allocations: 96.12 kB / 1.069 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.3844, allocations: 19.75 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.3845, allocations: 21.7 kB / 1.069 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3846, allocations: 322.8 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/0.3847, allocations: 19.98 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/0.3848, allocations: 23.98 kB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.385, allocations: 57.14 kB / 1.069 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.385, allocations: 4 kB / 1.069 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000247/0.3852, allocations: 93.58 kB / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3853, allocations: 4 kB / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3853, allocations: 0 / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3853, allocations: 0 / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.3854, allocations: 15.98 kB / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3854, allocations: 4 kB / 1.069 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.3855, allocations: 7.984 kB / 1.069 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.3855, allocations: 0 / 1.069 GB, free: 9.387 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 0.0001026/0.3856, allocations: 117.8 kB / 1.07 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.3857, allocations: 11.84 kB / 1.07 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/0.386, allocations: 97.95 kB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.386, allocations: 4 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.386, allocations: 4 kB / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.386, allocations: 0 / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.3862, allocations: 181.7 kB / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3862, allocations: 0 / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.731e-05/0.3863, allocations: 15.98 kB / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3863, allocations: 3.938 kB / 1.07 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.3863, allocations: 0 / 1.07 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3863, allocations: 0 / 1.07 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3863, allocations: 4 kB / 1.07 GB, free: 8.887 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.3866, allocations: 199.3 kB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.3867, allocations: 81.02 kB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.3867, allocations: 11.92 kB / 1.07 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.242e-05/0.3868, allocations: 192 / 1.07 GB, free: 8.566 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.3869, allocations: 11.98 kB / 1.07 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.3869, allocations: 4 kB / 1.07 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.243e-05/0.3869, allocations: 99.27 kB / 1.07 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3869, allocations: 4 kB / 1.07 GB, free: 8.449 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002558/0.3872, allocations: 24 kB / 1.07 GB, free: 8.426 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.0002176/0.3874, allocations: 119.2 kB / 1.07 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.3877, allocations: 63.84 kB / 1.07 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3877, allocations: 0 / 1.07 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.494e-05/0.3878, allocations: 23.98 kB / 1.07 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.3881, allocations: 23.88 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.3887, allocations: 230 kB / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.389, allocations: 0.6924 MB / 1.071 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.3891, allocations: 15.42 kB / 1.071 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3891, allocations: 0 / 1.071 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of Templates: time 0.003346/0.3924, allocations: 1.11 MB / 1.073 GB, free: 6.094 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches