Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.00139/0.00139, allocations: 113.8 kB / 17.6 MB, free: 4.668 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.001421/0.001421, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.446/1.446, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.878/2.878, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] 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.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.88 kB / 1.136 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9399/0.9419, allocations: 173.7 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004768/0.9466, allocations: 4.645 MB / 1.31 GB, free: 30.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00083/0.9475, allocations: 0.8164 MB / 1.311 GB, free: 29.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.9475, allocations: 3.938 kB / 1.311 GB, free: 29.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.9477, allocations: 41.59 kB / 1.311 GB, free: 29.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.9477, allocations: 29.86 kB / 1.311 GB, free: 29.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.9482, allocations: 171.3 kB / 1.311 GB, free: 29.4 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.9483, allocations: 183.7 kB / 1.311 GB, free: 29.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.193e-05/0.9484, allocations: 6.656 kB / 1.311 GB, free: 29.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.9485, allocations: 80.27 kB / 1.311 GB, free: 29.28 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.739e-05/0.9486, allocations: 82.02 kB / 1.311 GB, free: 29.25 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.9487, allocations: 14.44 kB / 1.311 GB, free: 29.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.9489, allocations: 159.3 kB / 1.312 GB, free: 29.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.9489, allocations: 29.44 kB / 1.312 GB, free: 29.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.949, allocations: 66.41 kB / 1.312 GB, free: 29.14 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.9493, allocations: 244 kB / 1.312 GB, free: 29.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.9493, allocations: 4 kB / 1.312 GB, free: 29.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9493, allocations: 0 / 1.312 GB, free: 29.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.9493, allocations: 0 / 1.312 GB, free: 29.05 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007699/0.9501, allocations: 483.2 kB / 1.312 GB, free: 28.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.9501, allocations: 8.406 kB / 1.312 GB, free: 28.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.9501, allocations: 21.72 kB / 1.312 GB, free: 28.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.846e-05/0.9502, allocations: 189.2 kB / 1.313 GB, free: 28.4 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.9502, allocations: 7.25 kB / 1.313 GB, free: 28.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.9503, allocations: 12.91 kB / 1.313 GB, free: 28.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.9506, allocations: 122.7 kB / 1.313 GB, free: 28.33 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.9506, allocations: 0 / 1.313 GB, free: 28.33 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.9506, allocations: 0 / 1.313 GB, free: 28.33 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.9506, allocations: 2.594 kB / 1.313 GB, free: 28.33 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.951, allocations: 159.3 kB / 1.313 GB, free: 28.28 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008394/0.9518, allocations: 463.9 kB / 1.313 GB, free: 27.93 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.9521, allocations: 111 kB / 1.313 GB, free: 27.88 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.9522, allocations: 68.2 kB / 1.313 GB, free: 27.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.9534, allocations: 0.9614 MB / 1.314 GB, free: 26.94 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.9534, allocations: 38.5 kB / 1.314 GB, free: 26.89 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.9534, allocations: 0 / 1.314 GB, free: 26.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0006158/0.954, allocations: 219.9 kB / 1.315 GB, free: 26.8 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/0.954, allocations: 58.25 kB / 1.315 GB, free: 26.74 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.9541, allocations: 162.3 kB / 1.315 GB, free: 26.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.9541, allocations: 32.75 kB / 1.315 GB, free: 26.58 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.9542, allocations: 109.3 kB / 1.315 GB, free: 26.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.9542, allocations: 45.58 kB / 1.315 GB, free: 26.44 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.599e-05/0.9543, allocations: 47.97 kB / 1.315 GB, free: 26.41 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.437e-05/0.9543, allocations: 328.6 kB / 1.315 GB, free: 26.09 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.9545, allocations: 74.17 kB / 1.315 GB, free: 26.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.9548, allocations: 112.6 kB / 1.316 GB, free: 26.01 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.9551, allocations: 170.9 kB / 1.316 GB, free: 25.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9551, allocations: 0 / 1.316 GB, free: 25.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004886/0.9556, allocations: 249.8 kB / 1.316 GB, free: 25.83 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.9556, allocations: 6 kB / 1.316 GB, free: 25.83 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.9556, allocations: 0 / 1.316 GB, free: 25.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9556, allocations: 6.75 kB / 1.316 GB, free: 25.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.9559, allocations: 57.56 kB / 1.316 GB, free: 25.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.9559, allocations: 2.656 kB / 1.316 GB, free: 25.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.956, allocations: 37.44 kB / 1.316 GB, free: 25.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.9561, allocations: 9.75 kB / 1.316 GB, free: 25.79 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.343e-05/0.9561, allocations: 123.3 kB / 1.316 GB, free: 25.67 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.9562, allocations: 13.22 kB / 1.316 GB, free: 25.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004226/0.9566, allocations: 173.9 kB / 1.316 GB, free: 25.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.9566, allocations: 2.156 kB / 1.316 GB, free: 25.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.9566, allocations: 4 kB / 1.316 GB, free: 25.58 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.9566, allocations: 3.938 kB / 1.316 GB, free: 25.58 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.9568, allocations: 215 kB / 1.317 GB, free: 25.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.9568, allocations: 0 / 1.317 GB, free: 25.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.9569, allocations: 35.92 kB / 1.317 GB, free: 25.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.9569, allocations: 2.125 kB / 1.317 GB, free: 25.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.9569, allocations: 3.938 kB / 1.317 GB, free: 25.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.9569, allocations: 6.125 kB / 1.317 GB, free: 25.35 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9569, allocations: 0 / 1.317 GB, free: 25.35 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.9573, allocations: 251.3 kB / 1.317 GB, free: 25.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.753e-05/0.9574, allocations: 102 kB / 1.317 GB, free: 25.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.9574, allocations: 7.125 kB / 1.317 GB, free: 25.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.9575, allocations: 15.7 kB / 1.317 GB, free: 25.07 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.9576, allocations: 14.34 kB / 1.317 GB, free: 25.06 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.9576, allocations: 2.625 kB / 1.317 GB, free: 25.06 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.765e-05/0.9576, allocations: 121.8 kB / 1.317 GB, free: 24.97 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9576, allocations: 0 / 1.317 GB, free: 24.97 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003207/0.958, allocations: 60.28 kB / 1.317 GB, free: 24.96 MB / 1.061 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 (12): * Single equations (assignments): 12 * 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.0002712/0.9582, allocations: 165.1 kB / 1.317 GB, free: 24.84 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004475/0.9587, allocations: 156.4 kB / 1.317 GB, free: 24.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9587, allocations: 2.719 kB / 1.317 GB, free: 24.8 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.9589, allocations: 69.41 kB / 1.318 GB, free: 24.79 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.9592, allocations: 23.3 kB / 1.318 GB, free: 24.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004464/0.9597, allocations: 268 kB / 1.318 GB, free: 24.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.9598, allocations: 0.7068 MB / 1.319 GB, free: 23.89 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.828e-05/0.9599, allocations: 23.8 kB / 1.319 GB, free: 23.88 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.9599, allocations: 15.31 kB / 1.319 GB, free: 23.87 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/0.9599, allocations: 3.938 kB / 1.319 GB, free: 23.87 MB / 1.061 GB Notification: Performance of Templates: time 0.005558/0.9655, allocations: 2.771 MB / 1.321 GB, free: 23.58 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.08052052743733]