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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008146/0.0008146, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000822/0.000822, allocations: 177.9 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8481/0.8481, allocations: 177.1 MB / 203.5 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.689/1.689, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.104e-06/2.104e-06, allocations: 0 / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.263e-05, allocations: 8.953 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002343/0.002376, allocations: 1.619 MB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.003603, allocations: 0.9201 MB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.157e-05/0.003675, allocations: 0 / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.003707, allocations: 3.938 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.003952, allocations: 35.66 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.004266, allocations: 159.4 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.004426, allocations: 83.64 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.004536, allocations: 4 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.004687, allocations: 55.88 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.693e-05/0.004764, allocations: 27.91 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.004784, allocations: 4 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.005055, allocations: 271.6 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.005073, allocations: 15.92 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.005103, allocations: 23.92 kB / 1.004 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.005348, allocations: 187.5 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00535, allocations: 0 / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.202e-06/0.005351, allocations: 0 / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.005356, allocations: 3.938 kB / 1.004 GB, free: 9.52 MB / 0.9636 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.0004829/0.005839, allocations: 337.7 kB / 1.005 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.005891, allocations: 12.75 kB / 1.005 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.006075, allocations: 32.86 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.006259, allocations: 139.8 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.006271, allocations: 4.375 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.006283, allocations: 4.375 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.006431, allocations: 61.8 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.006439, allocations: 0 / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.006452, allocations: 0 / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.006458, allocations: 4 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.936e-05/0.006557, allocations: 51.89 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.006899, allocations: 240.4 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.007007, allocations: 54.55 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.007057, allocations: 28.97 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.007076, allocations: 0 / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.007097, allocations: 34.56 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 1.011e-06/0.007098, allocations: 0 / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.0002627/0.007361, allocations: 117.7 kB / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.007394, allocations: 51.41 kB / 1.005 GB, free: 8.242 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.929e-05/0.007493, allocations: 134.2 kB / 1.006 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.007505, allocations: 29.64 kB / 1.006 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.007553, allocations: 92.14 kB / 1.006 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.007574, allocations: 23.78 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.007606, allocations: 17.72 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.501e-05/0.007691, allocations: 326.8 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.962e-05/0.00774, allocations: 24.05 kB / 1.006 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.944e-05/0.00778, allocations: 19.98 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.82e-05/0.007878, allocations: 60.7 kB / 1.006 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.007881, allocations: 0 / 1.006 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001356/0.008016, allocations: 93.61 kB / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.008031, allocations: 9.719 kB / 1.006 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.008037, allocations: 4 kB / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.00805, allocations: 0 / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.653e-05/0.008127, allocations: 15.98 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.008133, allocations: 0 / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.00816, allocations: 4 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.008167, allocations: 0 / 1.006 GB, free: 7.359 MB / 0.9636 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 6.431e-05/0.008232, allocations: 117.8 kB / 1.006 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.008256, allocations: 11.94 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.008439, allocations: 106 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.008443, allocations: 4 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.008447, allocations: 0 / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.008451, allocations: 3.984 kB / 1.006 GB, free: 7.102 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.008556, allocations: 121.2 kB / 1.007 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.008557, allocations: 0 / 1.007 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.008597, allocations: 15.98 kB / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.008599, allocations: 256 / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.008608, allocations: 0 / 1.007 GB, free: 6.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.008611, allocations: 4 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008612, allocations: 8 kB / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.008765, allocations: 195.3 kB / 1.007 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.008779, allocations: 11.89 kB / 1.007 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.008793, allocations: 0 / 1.007 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.378e-05/0.008837, allocations: 15.92 kB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.008875, allocations: 0 / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.00888, allocations: 7.984 kB / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.008928, allocations: 105.5 kB / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.008928, allocations: 0 / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001634/0.009091, allocations: 20 kB / 1.007 GB, free: 6.562 MB / 0.9636 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.000146/0.009237, allocations: 119.2 kB / 1.007 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.009382, allocations: 51.91 kB / 1.007 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.009383, allocations: 0 / 1.007 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.51e-05/0.009428, allocations: 31.92 kB / 1.007 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.009634, allocations: 11.92 kB / 1.007 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/0.009994, allocations: 219.1 kB / 1.007 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.515e-05/0.01005, allocations: 75.33 kB / 1.007 GB, free: 6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.01008, allocations: 20.48 kB / 1.007 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.01008, allocations: 0 / 1.007 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of Templates: time 0.002348/0.01243, allocations: 1.192 MB / 1.009 GB, free: 4.793 MB / 0.9636 GB " [Timeout remaining time 300] 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: 6.428912076167762]