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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002578/0.002578, allocations: 190.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.308/3.308, allocations: 0.4893 GB / 0.7884 GB, free: 33.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003807/0.003807, allocations: 66.23 kB / 1.145 GB, free: 30.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4766, allocations: 174.9 MB / 1.316 GB, free: 9.66 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003376/0.48, allocations: 1.611 MB / 1.318 GB, free: 8.039 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.4817, allocations: 0.9385 MB / 1.319 GB, free: 7.094 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.673e-05/0.4818, allocations: 0 / 1.319 GB, free: 7.094 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.5e-05/0.4818, allocations: 7.922 kB / 1.319 GB, free: 7.086 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.4821, allocations: 23.8 kB / 1.319 GB, free: 7.062 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.4825, allocations: 143.6 kB / 1.319 GB, free: 6.922 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000175/0.4826, allocations: 79.64 kB / 1.319 GB, free: 6.844 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.4828, allocations: 7.938 kB / 1.319 GB, free: 6.836 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.4829, allocations: 35.91 kB / 1.319 GB, free: 6.801 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.483, allocations: 39.84 kB / 1.319 GB, free: 6.762 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.483, allocations: 4 kB / 1.319 GB, free: 6.758 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004577/0.4835, allocations: 287.6 kB / 1.319 GB, free: 6.477 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.4835, allocations: 15.86 kB / 1.319 GB, free: 6.461 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.4836, allocations: 31.8 kB / 1.319 GB, free: 6.43 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.4839, allocations: 147.5 kB / 1.319 GB, free: 6.285 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4839, allocations: 0 / 1.319 GB, free: 6.285 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4839, allocations: 0 / 1.319 GB, free: 6.285 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.4839, allocations: 0 / 1.319 GB, free: 6.285 MB / 1.014 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.000728/0.4846, allocations: 341.7 kB / 1.32 GB, free: 5.922 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.4847, allocations: 12.03 kB / 1.32 GB, free: 5.91 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.4848, allocations: 8.891 kB / 1.32 GB, free: 5.902 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.4851, allocations: 130.4 kB / 1.32 GB, free: 5.75 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.4852, allocations: 4.375 kB / 1.32 GB, free: 5.746 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.4852, allocations: 384 / 1.32 GB, free: 5.746 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.4854, allocations: 65.98 kB / 1.32 GB, free: 5.676 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.4854, allocations: 4 kB / 1.32 GB, free: 5.672 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4854, allocations: 3.938 kB / 1.32 GB, free: 5.668 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4854, allocations: 0 / 1.32 GB, free: 5.668 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.4856, allocations: 39.97 kB / 1.32 GB, free: 5.629 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/0.4861, allocations: 275.8 kB / 1.32 GB, free: 5.316 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.4863, allocations: 50.56 kB / 1.32 GB, free: 5.258 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.825e-05/0.4863, allocations: 24.97 kB / 1.32 GB, free: 5.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.4864, allocations: 7.922 kB / 1.32 GB, free: 5.223 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.4864, allocations: 42.5 kB / 1.32 GB, free: 5.172 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.4864, allocations: 0 / 1.32 GB, free: 5.172 MB / 1.014 GB Notification: Performance of matching and sorting (n=5): time 0.0003957/0.4868, allocations: 109.5 kB / 1.32 GB, free: 5.059 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.4868, allocations: 51.41 kB / 1.32 GB, free: 4.996 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.487, allocations: 132 kB / 1.321 GB, free: 4.859 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.487, allocations: 25.7 kB / 1.321 GB, free: 4.828 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.487, allocations: 96.12 kB / 1.321 GB, free: 4.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.4871, allocations: 23.8 kB / 1.321 GB, free: 4.707 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.4871, allocations: 17.7 kB / 1.321 GB, free: 4.684 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4873, allocations: 322.8 kB / 1.321 GB, free: 4.359 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-05/0.4873, allocations: 20.23 kB / 1.321 GB, free: 4.34 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.122e-05/0.4874, allocations: 35.92 kB / 1.321 GB, free: 4.305 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.4876, allocations: 48.83 kB / 1.321 GB, free: 4.254 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4876, allocations: 0 / 1.321 GB, free: 4.254 MB / 1.014 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002101/0.4878, allocations: 89.61 kB / 1.321 GB, free: 4.16 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4878, allocations: 12 kB / 1.321 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.4878, allocations: 0 / 1.321 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4878, allocations: 0 / 1.321 GB, free: 4.148 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.4879, allocations: 15.98 kB / 1.321 GB, free: 4.133 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.4879, allocations: 0 / 1.321 GB, free: 4.133 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.612e-05/0.488, allocations: 15.92 kB / 1.321 GB, free: 4.117 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.488, allocations: 0 / 1.321 GB, free: 4.117 MB / 1.014 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.0001039/0.4881, allocations: 118.3 kB / 1.321 GB, free: 3.992 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.4882, allocations: 7.953 kB / 1.321 GB, free: 3.984 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.4884, allocations: 102 kB / 1.321 GB, free: 3.871 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4884, allocations: 4 kB / 1.321 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4884, allocations: 0 / 1.321 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4884, allocations: 0 / 1.321 GB, free: 3.867 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.4886, allocations: 156.7 kB / 1.322 GB, free: 3.672 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4886, allocations: 0 / 1.322 GB, free: 3.672 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.888e-05/0.4887, allocations: 19.92 kB / 1.322 GB, free: 3.652 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4887, allocations: 0 / 1.322 GB, free: 3.652 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4887, allocations: 8 kB / 1.322 GB, free: 3.645 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4887, allocations: 256 / 1.322 GB, free: 3.645 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4887, allocations: 8 kB / 1.322 GB, free: 3.637 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.489, allocations: 187.4 kB / 1.322 GB, free: 3.438 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.489, allocations: 19.83 kB / 1.322 GB, free: 3.418 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.4891, allocations: 0 / 1.322 GB, free: 3.418 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.4892, allocations: 11.98 kB / 1.322 GB, free: 3.406 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.4892, allocations: 3.984 kB / 1.322 GB, free: 3.402 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.4892, allocations: 3.984 kB / 1.322 GB, free: 3.398 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.47e-05/0.4893, allocations: 108.9 kB / 1.322 GB, free: 3.293 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4893, allocations: 0 / 1.322 GB, free: 3.293 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002492/0.4895, allocations: 16 kB / 1.322 GB, free: 3.277 MB / 1.014 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.0002141/0.4897, allocations: 119.1 kB / 1.322 GB, free: 3.152 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.49, allocations: 59.89 kB / 1.322 GB, free: 3.094 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.49, allocations: 0 / 1.322 GB, free: 3.094 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.524e-05/0.4901, allocations: 31.98 kB / 1.322 GB, free: 3.062 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.4904, allocations: 15.92 kB / 1.322 GB, free: 3.047 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.4908, allocations: 180.8 kB / 1.322 GB, free: 2.844 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.4912, allocations: 0.7 MB / 1.323 GB, free: 2.117 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.404e-05/0.4912, allocations: 3.75 kB / 1.323 GB, free: 2.113 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.4913, allocations: 19.42 kB / 1.323 GB, free: 2.094 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.4913, allocations: 0 / 1.323 GB, free: 2.094 MB / 1.014 GB Notification: Performance of Templates: time 0.004559/0.4958, allocations: 1.137 MB / 1.324 GB, free: 0.9688 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.664057062007487]