Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001792/0.001792, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002191/0.002191, allocations: 211.8 kB / 22.24 MB, free: 5.262 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.678/1.678, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.138/3.138, allocations: 476 MB / 0.7699 GB, free: 4.805 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002337/0.002337, allocations: 67.3 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5246/0.5269, allocations: 170 MB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.009185/0.5361, allocations: 4.425 MB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.5374, allocations: 0.7517 MB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.807e-05/0.5375, allocations: 4 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.5378, allocations: 31.77 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.469e-05/0.5378, allocations: 31.72 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006138/0.5384, allocations: 171.3 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.5387, allocations: 183.4 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.5388, allocations: 13.31 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.539, allocations: 91.62 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.5392, allocations: 67.73 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.5392, allocations: 19.94 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003527/0.5396, allocations: 139.8 kB / 1.289 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.78e-05/0.5396, allocations: 23.92 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.02e-05/0.5397, allocations: 59.78 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.5401, allocations: 243.1 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.559e-05/0.5401, allocations: 0 / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.355e-06/0.5401, allocations: 4 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.5402, allocations: 0 / 1.289 GB, free: 5.641 MB / 0.9825 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.0009921/0.5411, allocations: 413.4 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.5412, allocations: 8.031 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.57e-05/0.5413, allocations: 16.84 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.5414, allocations: 118.4 kB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.5414, allocations: 12.38 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.5415, allocations: 16.31 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.5419, allocations: 121.6 kB / 1.29 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.5419, allocations: 4 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.5419, allocations: 4 kB / 1.29 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.5419, allocations: 3.938 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.5423, allocations: 143.9 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.5433, allocations: 384.2 kB / 1.29 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.5437, allocations: 118.5 kB / 1.29 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.5439, allocations: 64.81 kB / 1.291 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.5451, allocations: 480 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.5451, allocations: 30.56 kB / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.183e-06/0.5451, allocations: 0 / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0007078/0.5458, allocations: 209.4 kB / 1.291 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.5459, allocations: 63.33 kB / 1.291 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.5461, allocations: 160 kB / 1.291 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.5461, allocations: 33.7 kB / 1.291 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.5462, allocations: 108.4 kB / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.5462, allocations: 39.64 kB / 1.292 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.313e-05/0.5463, allocations: 53.64 kB / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5465, allocations: 334.8 kB / 1.292 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.5467, allocations: 71.94 kB / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.547, allocations: 107.4 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/0.5474, allocations: 178.3 kB / 1.292 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5474, allocations: 0 / 1.292 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005791/0.548, allocations: 235.5 kB / 1.293 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.548, allocations: 10.19 kB / 1.293 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.548, allocations: 3.938 kB / 1.293 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.548, allocations: 8.094 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.5484, allocations: 63.83 kB / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.5484, allocations: 0 / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.5485, allocations: 31.83 kB / 1.293 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.5486, allocations: 8 kB / 1.293 GB, free: 1.848 MB / 0.9825 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 0.0001287/0.5487, allocations: 135.4 kB / 1.293 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.5487, allocations: 7.953 kB / 1.293 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005135/0.5492, allocations: 183.3 kB / 1.293 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.5492, allocations: 3.938 kB / 1.293 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5493, allocations: 0 / 1.293 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5493, allocations: 0 / 1.293 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.5495, allocations: 145.3 kB / 1.293 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5495, allocations: 0 / 1.293 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.5496, allocations: 39.91 kB / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.5496, allocations: 4 kB / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.5497, allocations: 0 / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5497, allocations: 0 / 1.293 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.5497, allocations: 3.938 kB / 1.293 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004849/0.5501, allocations: 255.3 kB / 1.293 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.5502, allocations: 27.83 kB / 1.293 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.5502, allocations: 11.97 kB / 1.293 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.5504, allocations: 15.98 kB / 1.293 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.5504, allocations: 15.92 kB / 1.293 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.5504, allocations: 4 kB / 1.293 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.747e-05/0.5505, allocations: 116 kB / 1.294 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.5505, allocations: 3.938 kB / 1.294 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003396/0.5509, allocations: 59.86 kB / 1.294 GB, free: 0.7695 MB / 0.9825 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.0003311/0.5512, allocations: 155.1 kB / 1.294 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005273/0.5517, allocations: 163.6 kB / 1.294 GB, free: 460 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5517, allocations: 0 / 1.294 GB, free: 460 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.5519, allocations: 68.08 kB / 1.294 GB, free: 392 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003993/0.5523, allocations: 31.91 kB / 1.294 GB, free: 360 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.5529, allocations: 245.8 kB / 1.294 GB, free: 88 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.553, allocations: 97.48 kB / 1.294 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.271e-05/0.5531, allocations: 19.45 kB / 1.294 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.5532, allocations: 23.38 kB / 1.294 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.5532, allocations: 0 / 1.294 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of Templates: time 0.007487/0.5606, allocations: 2.937 MB / 1.297 GB, free: 13.05 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.891381619498134]