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.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.001325/0.001325, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001445/0.001445, allocations: 158.6 kB / 23.01 MB, free: 4.949 MB / 14.72 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 1.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] 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 2.831/2.831, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 63.91 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8394/0.8415, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005496/0.847, allocations: 4.431 MB / 1.191 GB, free: 13.12 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009635/0.848, allocations: 0.7619 MB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.8481, allocations: 0.75 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.8482, allocations: 24.53 kB / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.637e-05/0.8483, allocations: 36.09 kB / 1.192 GB, free: 12.58 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.8488, allocations: 173.5 kB / 1.192 GB, free: 12.49 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.849, allocations: 172.4 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.888e-05/0.8491, allocations: 17.81 kB / 1.192 GB, free: 12.41 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.8492, allocations: 87.17 kB / 1.192 GB, free: 12.37 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.8493, allocations: 74.83 kB / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.8494, allocations: 17.09 kB / 1.192 GB, free: 12.33 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002991/0.8497, allocations: 131.6 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.8497, allocations: 35.98 kB / 1.192 GB, free: 12.28 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.8498, allocations: 55.36 kB / 1.192 GB, free: 12.25 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003577/0.8501, allocations: 233.8 kB / 1.193 GB, free: 12.17 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8501, allocations: 0 / 1.193 GB, free: 12.17 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8501, allocations: 0 / 1.193 GB, free: 12.17 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.8501, allocations: 4.906 kB / 1.193 GB, free: 12.17 MB / 1.076 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.0007804/0.8509, allocations: 411.9 kB / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.8509, allocations: 12.72 kB / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.851, allocations: 12.36 kB / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.333e-05/0.8511, allocations: 133.4 kB / 1.193 GB, free: 11.68 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.8511, allocations: 17.17 kB / 1.193 GB, free: 11.67 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.8511, allocations: 11.22 kB / 1.193 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.8514, allocations: 124.1 kB / 1.193 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.8514, allocations: 0 / 1.193 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.8514, allocations: 3.938 kB / 1.193 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.8514, allocations: 7.312 kB / 1.193 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.8519, allocations: 146.3 kB / 1.194 GB, free: 11.55 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008514/0.8527, allocations: 378.8 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.853, allocations: 117 kB / 1.194 GB, free: 11.23 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.8532, allocations: 69.28 kB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.8542, allocations: 472.9 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.8543, allocations: 32.56 kB / 1.195 GB, free: 10.85 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.8543, allocations: 0 / 1.195 GB, free: 10.85 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0006759/0.8549, allocations: 216.8 kB / 1.195 GB, free: 10.77 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.855, allocations: 54.58 kB / 1.195 GB, free: 10.7 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.8551, allocations: 170.8 kB / 1.195 GB, free: 10.57 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.8551, allocations: 31.16 kB / 1.195 GB, free: 10.54 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.8552, allocations: 105.3 kB / 1.195 GB, free: 10.44 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.8552, allocations: 44.22 kB / 1.195 GB, free: 10.4 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-05/0.8553, allocations: 53.5 kB / 1.195 GB, free: 10.37 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.411e-05/0.8553, allocations: 322.5 kB / 1.196 GB, free: 10.05 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.8556, allocations: 74.16 kB / 1.196 GB, free: 10.03 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.8558, allocations: 117.8 kB / 1.196 GB, free: 9.969 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.8562, allocations: 171.9 kB / 1.196 GB, free: 9.891 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.8562, allocations: 0.75 kB / 1.196 GB, free: 9.891 MB / 1.076 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005981/0.8568, allocations: 246.1 kB / 1.196 GB, free: 9.789 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.8569, allocations: 11.09 kB / 1.196 GB, free: 9.785 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.8569, allocations: 1.812 kB / 1.196 GB, free: 9.785 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.8569, allocations: 2.188 kB / 1.196 GB, free: 9.785 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.8572, allocations: 62.81 kB / 1.196 GB, free: 9.773 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.8572, allocations: 2.375 kB / 1.196 GB, free: 9.773 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.8574, allocations: 32.05 kB / 1.196 GB, free: 9.758 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.8574, allocations: 11.33 kB / 1.196 GB, free: 9.754 MB / 1.076 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 7.583e-05/0.8575, allocations: 123.5 kB / 1.196 GB, free: 9.629 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.8575, allocations: 17.12 kB / 1.196 GB, free: 9.617 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005144/0.858, allocations: 174 kB / 1.197 GB, free: 9.539 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.858, allocations: 5.031 kB / 1.197 GB, free: 9.535 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.858, allocations: 4.453 kB / 1.197 GB, free: 9.531 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.858, allocations: 1.5 kB / 1.197 GB, free: 9.531 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.8582, allocations: 149.1 kB / 1.197 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.8582, allocations: 0 / 1.197 GB, free: 9.387 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.8584, allocations: 33.67 kB / 1.197 GB, free: 9.383 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.8584, allocations: 0 / 1.197 GB, free: 9.383 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.8584, allocations: 9.188 kB / 1.197 GB, free: 9.375 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.8584, allocations: 2.188 kB / 1.197 GB, free: 9.375 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8584, allocations: 3.938 kB / 1.197 GB, free: 9.371 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.8588, allocations: 254.8 kB / 1.197 GB, free: 9.203 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.8589, allocations: 21.89 kB / 1.197 GB, free: 9.191 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.8589, allocations: 8.938 kB / 1.197 GB, free: 9.184 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.8591, allocations: 11.53 kB / 1.197 GB, free: 9.184 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.8591, allocations: 12.64 kB / 1.197 GB, free: 9.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.8591, allocations: 3.031 kB / 1.197 GB, free: 9.18 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.739e-05/0.8592, allocations: 120.2 kB / 1.197 GB, free: 9.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8592, allocations: 0 / 1.197 GB, free: 9.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003835/0.8596, allocations: 63.05 kB / 1.197 GB, free: 9.074 MB / 1.076 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.0002666/0.8599, allocations: 161.1 kB / 1.197 GB, free: 8.961 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005034/0.8604, allocations: 157.2 kB / 1.198 GB, free: 8.926 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8604, allocations: 0 / 1.198 GB, free: 8.926 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.8606, allocations: 61.72 kB / 1.198 GB, free: 8.914 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.8609, allocations: 23.67 kB / 1.198 GB, free: 8.902 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.8614, allocations: 249.8 kB / 1.198 GB, free: 8.723 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.752e-05/0.8614, allocations: 94.25 kB / 1.198 GB, free: 8.645 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.646e-05/0.8615, allocations: 28.38 kB / 1.198 GB, free: 8.629 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.8616, allocations: 21.98 kB / 1.198 GB, free: 8.617 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.8616, allocations: 0 / 1.198 GB, free: 8.617 MB / 1.076 GB Notification: Performance of Templates: time 0.007054/0.8686, allocations: 2.82 MB / 1.201 GB, free: 8.25 MB / 1.076 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 800] 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/jenkins1/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: 8.65369179600384]