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.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.001716/0.001716, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001462/0.001462, allocations: 188.3 kB / 22.22 MB, free: 5.105 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.491/1.491, allocations: 225.6 MB / 251 MB, free: 13.04 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 2.826/2.826, allocations: 476.7 MB / 0.7646 GB, free: 9.902 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.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_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: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 67.89 kB / 1.11 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8674/0.8695, allocations: 168.8 MB / 1.274 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007078/0.8765, allocations: 4.644 MB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.8778, allocations: 0.8256 MB / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.8779, allocations: 0 / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.8781, allocations: 31.77 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.397e-05/0.8782, allocations: 39.7 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.8787, allocations: 167.4 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.879, allocations: 183.3 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.676e-05/0.8791, allocations: 9.312 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.8793, allocations: 83.75 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.8794, allocations: 83.66 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.8794, allocations: 12 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003785/0.8798, allocations: 151.8 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.153e-05/0.8799, allocations: 35.89 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.8799, allocations: 67.66 kB / 1.281 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.8803, allocations: 245.6 kB / 1.281 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8803, allocations: 0 / 1.281 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8803, allocations: 0 / 1.281 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.8804, allocations: 11.94 kB / 1.281 GB, free: 13.61 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.0009199/0.8813, allocations: 401.5 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.8813, allocations: 8.031 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.8814, allocations: 16.84 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.8815, allocations: 130.4 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.8816, allocations: 8.375 kB / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.8816, allocations: 12.38 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.8819, allocations: 133.6 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.8819, allocations: 0 / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.8819, allocations: 0 / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.882, allocations: 0 / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000468/0.8824, allocations: 147.9 kB / 1.282 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.8836, allocations: 427.6 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.8839, allocations: 122.4 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.8841, allocations: 60.81 kB / 1.282 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.8852, allocations: 0.4922 MB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.8852, allocations: 34.55 kB / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.8852, allocations: 3.938 kB / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0006722/0.8859, allocations: 213.4 kB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.886, allocations: 55.41 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.8861, allocations: 167.9 kB / 1.283 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.8862, allocations: 29.7 kB / 1.283 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.755e-05/0.8863, allocations: 112.4 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.8863, allocations: 47.64 kB / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-05/0.8864, allocations: 41.7 kB / 1.283 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.8865, allocations: 326.8 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.8868, allocations: 79.88 kB / 1.284 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.887, allocations: 113.5 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.8874, allocations: 174.1 kB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8874, allocations: 0 / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005551/0.888, allocations: 241.3 kB / 1.284 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.888, allocations: 10.03 kB / 1.284 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.888, allocations: 0 / 1.284 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.888, allocations: 3.938 kB / 1.284 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.8883, allocations: 63.89 kB / 1.284 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.8883, allocations: 0 / 1.284 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.8885, allocations: 35.81 kB / 1.284 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.8885, allocations: 8 kB / 1.284 GB, free: 9.73 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.0001119/0.8886, allocations: 125.9 kB / 1.284 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.8887, allocations: 15.89 kB / 1.284 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/0.8892, allocations: 183.2 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8892, allocations: 0 / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.8892, allocations: 0 / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8892, allocations: 7.984 kB / 1.285 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.8894, allocations: 192.6 kB / 1.285 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.8894, allocations: 0 / 1.285 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.8896, allocations: 27.97 kB / 1.285 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.8896, allocations: 0 / 1.285 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.8896, allocations: 11.94 kB / 1.285 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.8896, allocations: 3.938 kB / 1.285 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.8896, allocations: 0 / 1.285 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.8901, allocations: 251.4 kB / 1.285 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.8901, allocations: 23.83 kB / 1.285 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.8901, allocations: 7.938 kB / 1.285 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.8903, allocations: 11.98 kB / 1.285 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.8903, allocations: 15.91 kB / 1.285 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.8903, allocations: 4 kB / 1.285 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.827e-05/0.8904, allocations: 120 kB / 1.285 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8904, allocations: 0 / 1.285 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003511/0.8908, allocations: 59.88 kB / 1.285 GB, free: 8.613 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.0003252/0.8911, allocations: 155.1 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004951/0.8916, allocations: 158.5 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8916, allocations: 0 / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.8918, allocations: 72.06 kB / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.8922, allocations: 26.41 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005667/0.8928, allocations: 261.5 kB / 1.286 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.8932, allocations: 0.7084 MB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.981e-05/0.8933, allocations: 17.45 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.445e-05/0.8933, allocations: 19.44 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.8933, allocations: 0 / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of Templates: time 0.007187/0.9005, allocations: 2.816 MB / 1.289 GB, free: 4.359 MB / 0.9825 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: 9.154443201608956]