Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001277/0.001277, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001338/0.001338, allocations: 185 kB / 24.09 MB, free: 412 kB / 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.8886/0.8886, allocations: 177.1 MB / 204.5 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.755/1.755, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 0.812 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.814e-05, allocations: 5.266 kB / 0.8121 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004512/0.00453, allocations: 4.703 MB / 0.8166 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0007329/0.005263, allocations: 0.8264 MB / 0.8175 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.005318, allocations: 0 / 0.8175 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.005462, allocations: 27.78 kB / 0.8175 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.426e-05/0.005506, allocations: 36.61 kB / 0.8175 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.005962, allocations: 189.9 kB / 0.8177 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.006113, allocations: 175.3 kB / 0.8179 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.855e-05/0.006181, allocations: 13.81 kB / 0.8179 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.006347, allocations: 108.3 kB / 0.818 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.699e-05/0.006414, allocations: 61.22 kB / 0.818 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.006433, allocations: 16 kB / 0.8181 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.00666, allocations: 139.7 kB / 0.8182 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.006686, allocations: 36.98 kB / 0.8182 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.006726, allocations: 51.89 kB / 0.8183 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.006972, allocations: 215.3 kB / 0.8185 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.006975, allocations: 4.844 kB / 0.8185 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.31e-07/0.006975, allocations: 3.938 kB / 0.8185 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.006979, allocations: 0.8438 kB / 0.8185 GB, free: 10.79 MB / 0.7761 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.0004905/0.007469, allocations: 497 kB / 0.819 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.007501, allocations: 8.875 kB / 0.819 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.00754, allocations: 24.84 kB / 0.819 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.751e-05/0.007617, allocations: 135.9 kB / 0.8191 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.007628, allocations: 8.375 kB / 0.8191 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.007641, allocations: 12.38 kB / 0.8191 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.007768, allocations: 92.22 kB / 0.8192 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.007774, allocations: 192 / 0.8192 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.007785, allocations: 8.125 kB / 0.8192 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.007789, allocations: 1.375 kB / 0.8192 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.755e-05/0.007856, allocations: 45.2 kB / 0.8193 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.008337, allocations: 403.1 kB / 0.8197 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.169e-05/0.008429, allocations: 74.95 kB / 0.8197 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.008461, allocations: 32.17 kB / 0.8198 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000621/0.009082, allocations: 0.5539 MB / 0.8203 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.009107, allocations: 45.38 kB / 0.8203 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.009109, allocations: 0 / 0.8203 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0001688/0.009277, allocations: 101.5 kB / 0.8204 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.0093, allocations: 55.41 kB / 0.8205 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.655e-05/0.009397, allocations: 219.8 kB / 0.8207 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.009411, allocations: 33.69 kB / 0.8207 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.009471, allocations: 156.2 kB / 0.8209 GB, free: 8.164 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.009492, allocations: 43.62 kB / 0.8209 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.009544, allocations: 51.34 kB / 0.821 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.009707, allocations: 0.505 MB / 0.8215 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.079e-05/0.009747, allocations: 23.97 kB / 0.8215 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.836e-05/0.009806, allocations: 66.7 kB / 0.8216 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.844e-05/0.009894, allocations: 96.81 kB / 0.8217 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.009896, allocations: 0 / 0.8217 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001631/0.01006, allocations: 157.4 kB / 0.8218 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.01007, allocations: 4 kB / 0.8218 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.01008, allocations: 3.984 kB / 0.8218 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.01008, allocations: 9.312 kB / 0.8218 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.0102, allocations: 43.97 kB / 0.8219 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.0102, allocations: 4 kB / 0.8219 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.905e-05/0.01026, allocations: 34.64 kB / 0.8219 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.01028, allocations: 4 kB / 0.8219 GB, free: 7.078 MB / 0.7761 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.641e-05/0.01034, allocations: 172.5 kB / 0.8221 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.01036, allocations: 11.95 kB / 0.8221 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.01049, allocations: 103 kB / 0.8222 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.0105, allocations: 7.984 kB / 0.8222 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.0105, allocations: 0.7188 kB / 0.8222 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.0105, allocations: 0 / 0.8222 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.01061, allocations: 138.8 kB / 0.8223 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01061, allocations: 0 / 0.8223 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.645e-05/0.01067, allocations: 23.98 kB / 0.8223 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.01067, allocations: 0 / 0.8223 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.01068, allocations: 8.484 kB / 0.8223 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.01068, allocations: 96 / 0.8223 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.01068, allocations: 4 kB / 0.8224 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.01081, allocations: 243.7 kB / 0.8226 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.01084, allocations: 19.92 kB / 0.8226 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.01085, allocations: 0 / 0.8226 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.811e-05/0.01089, allocations: 15.94 kB / 0.8226 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.01093, allocations: 7.984 kB / 0.8226 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.01094, allocations: 7.984 kB / 0.8226 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.196e-05/0.01099, allocations: 147.9 kB / 0.8228 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01099, allocations: 0 / 0.8228 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002271/0.01121, allocations: 67.81 kB / 0.8228 GB, free: 6.059 MB / 0.7761 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.0001888/0.0114, allocations: 151.1 kB / 0.823 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.01154, allocations: 87.52 kB / 0.8231 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01154, allocations: 0 / 0.8231 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.01157, allocations: 39.64 kB / 0.8231 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.01179, allocations: 28.98 kB / 0.8231 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.01222, allocations: 235 kB / 0.8234 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.733e-05/0.01225, allocations: 75.69 kB / 0.8234 GB, free: 5.383 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.029e-05/0.01231, allocations: 25.02 kB / 0.8235 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/0.0124, allocations: 98.17 kB / 0.8235 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.0124, allocations: 4 kB / 0.8235 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of Templates: time 0.004411/0.01681, allocations: 3.116 MB / 0.8266 GB, free: 2.188 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.625829028896987]