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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,variableFilter="time|hANatCyl.hA",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008806/0.008806, allocations: 169.4 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.95/2.95, allocations: 462.6 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.000456, allocations: 12.88 kB / 0.9028 GB, free: 36.74 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3307, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005646/0.3364, allocations: 4.252 MB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3375, allocations: 0.8257 MB / 1.064 GB, free: 360 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.071e-05/0.3376, allocations: 0 / 1.064 GB, free: 360 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.3378, allocations: 19.89 kB / 1.064 GB, free: 340 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.689e-05/0.3379, allocations: 23.78 kB / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.3385, allocations: 155.5 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.3387, allocations: 167.4 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.728e-05/0.3388, allocations: 17.11 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.339, allocations: 67.75 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.953e-05/0.3391, allocations: 79.67 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3391, allocations: 4 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.3394, allocations: 151.7 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.3395, allocations: 23.91 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.512e-05/0.3396, allocations: 89.34 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.3399, allocations: 223.6 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3399, allocations: 0 / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3399, allocations: 0 / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3399, allocations: 0 / 1.065 GB, free: 15.34 MB / 0.8262 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.0008324/0.3407, allocations: 474.9 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3408, allocations: 8.031 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.3408, allocations: 16.75 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.341, allocations: 186.8 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.341, allocations: 4.375 kB / 1.065 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.341, allocations: 12.38 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.3414, allocations: 131.9 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3414, allocations: 4 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.3414, allocations: 8 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3414, allocations: 0 / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004503/0.3419, allocations: 163.9 kB / 1.066 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009869/0.3429, allocations: 480.3 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.3432, allocations: 126.5 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.3434, allocations: 84.81 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/0.3448, allocations: 0.9608 MB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.3448, allocations: 34.5 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.3449, allocations: 0 / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0007381/0.3456, allocations: 249.3 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.3456, allocations: 51.41 kB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.3458, allocations: 168 kB / 1.068 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3458, allocations: 29.7 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.3459, allocations: 108.3 kB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.3459, allocations: 43.44 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.346, allocations: 29.7 kB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3461, allocations: 326.8 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.3464, allocations: 83.94 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.3467, allocations: 128.6 kB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.3471, allocations: 191.3 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3471, allocations: 4 kB / 1.069 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006112/0.3477, allocations: 267.8 kB / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3478, allocations: 4 kB / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.3478, allocations: 4 kB / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3478, allocations: 3.938 kB / 1.069 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.3481, allocations: 63.95 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3481, allocations: 8.031 kB / 1.069 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.3483, allocations: 35.77 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.3483, allocations: 8 kB / 1.069 GB, free: 10.54 MB / 0.8262 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.0001044/0.3484, allocations: 117.8 kB / 1.069 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.3485, allocations: 11.81 kB / 1.069 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005351/0.349, allocations: 206.9 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.349, allocations: 3.938 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.349, allocations: 0 / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.349, allocations: 3.984 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.3493, allocations: 209.6 kB / 1.069 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3493, allocations: 0 / 1.069 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.3494, allocations: 31.98 kB / 1.069 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.3495, allocations: 3.984 kB / 1.069 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.3495, allocations: 15.88 kB / 1.07 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3495, allocations: 0 / 1.07 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3495, allocations: 4 kB / 1.07 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.35, allocations: 283.7 kB / 1.07 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.886e-05/0.3501, allocations: 96.91 kB / 1.07 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.3501, allocations: 7.938 kB / 1.07 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.3503, allocations: 23.97 kB / 1.07 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.3503, allocations: 19.91 kB / 1.07 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.3503, allocations: 0 / 1.07 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.791e-05/0.3504, allocations: 116 kB / 1.07 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3504, allocations: 0 / 1.07 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000375/0.3508, allocations: 64.06 kB / 1.07 GB, free: 9.242 MB / 0.8262 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.0002949/0.3511, allocations: 151.2 kB / 1.07 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005493/0.3517, allocations: 191.9 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3517, allocations: 0 / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.3519, allocations: 84.02 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003842/0.3523, allocations: 15.98 kB / 1.071 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005114/0.3528, allocations: 301.9 kB / 1.071 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.3531, allocations: 0.7087 MB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.3532, allocations: 20.41 kB / 1.072 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.3533, allocations: 19.42 kB / 1.072 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3533, allocations: 0 / 1.072 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of Templates: time 0.005911/0.3592, allocations: 2.534 MB / 1.074 GB, free: 5.203 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) 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) Reference file matches