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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001542/0.001541, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 197.2 kB / 16.79 MB, free: 6.809 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.735/2.735, allocations: 461.8 MB / 0.7348 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 76.06 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3349, allocations: 157.4 MB / 1.053 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007303/0.3423, allocations: 4.622 MB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3435, allocations: 0.8335 MB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.3436, allocations: 0 / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.3438, allocations: 27.83 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.405e-05/0.344, allocations: 27.77 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005861/0.3446, allocations: 147.5 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.3448, allocations: 167.4 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.3449, allocations: 21.11 kB / 1.058 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.3451, allocations: 67.77 kB / 1.059 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.3452, allocations: 79.66 kB / 1.059 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.3453, allocations: 4 kB / 1.059 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.3456, allocations: 139.8 kB / 1.059 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.887e-05/0.3457, allocations: 27.89 kB / 1.059 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.304e-05/0.3458, allocations: 71.66 kB / 1.059 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.3461, allocations: 171.8 kB / 1.059 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3461, allocations: 4 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3461, allocations: 0 / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3461, allocations: 0 / 1.059 GB, free: 1.926 MB / 0.8106 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.0009614/0.3471, allocations: 483 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3472, allocations: 8.031 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.3472, allocations: 16.75 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.3474, allocations: 177 kB / 1.06 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.3474, allocations: 8.375 kB / 1.06 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.3475, allocations: 12.38 kB / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.3478, allocations: 125.6 kB / 1.06 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3478, allocations: 0 / 1.06 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.3479, allocations: 8 kB / 1.06 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3479, allocations: 0 / 1.06 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004113/0.3483, allocations: 141.4 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.3493, allocations: 468.5 kB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.3496, allocations: 122.5 kB / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.3498, allocations: 76.75 kB / 1.061 GB, free: 168 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/0.3513, allocations: 0.9606 MB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3513, allocations: 34.56 kB / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.3513, allocations: 0 / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006748/0.352, allocations: 221.2 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.3521, allocations: 51.41 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.3522, allocations: 159.3 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.3523, allocations: 33.64 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.206e-05/0.3523, allocations: 108.3 kB / 1.062 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.3524, allocations: 51.3 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.597e-05/0.3525, allocations: 49.7 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3526, allocations: 318.8 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.3528, allocations: 79.94 kB / 1.063 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.3531, allocations: 109.3 kB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/0.3535, allocations: 169.9 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3535, allocations: 4 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005817/0.3541, allocations: 243.9 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3541, allocations: 4 kB / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3541, allocations: 0 / 1.063 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.3542, allocations: 7.938 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.3544, allocations: 56 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3545, allocations: 4 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.3546, allocations: 39.66 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.3547, allocations: 12 kB / 1.063 GB, free: 13.26 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.0001068/0.3548, allocations: 121.8 kB / 1.063 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.3548, allocations: 19.75 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004728/0.3553, allocations: 174.9 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.289e-06/0.3553, allocations: 0 / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3553, allocations: 4 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3553, allocations: 0 / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.3556, allocations: 209.6 kB / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3556, allocations: 0 / 1.064 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.3558, allocations: 31.91 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3558, allocations: 8 kB / 1.064 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.3558, allocations: 7.938 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3558, allocations: 0 / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3558, allocations: 0 / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.3563, allocations: 259.1 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.531e-05/0.3563, allocations: 101 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.3564, allocations: 7.938 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3565, allocations: 11.98 kB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.3566, allocations: 15.86 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.3566, allocations: 4 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.84e-05/0.3567, allocations: 116 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3567, allocations: 0 / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003483/0.357, allocations: 68.3 kB / 1.064 GB, free: 12.02 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.0003327/0.3574, allocations: 151.2 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000516/0.3579, allocations: 171.8 kB / 1.065 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3579, allocations: 0 / 1.065 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.3582, allocations: 68.55 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.3586, allocations: 19.98 kB / 1.065 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005832/0.3592, allocations: 316.9 kB / 1.065 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.3595, allocations: 0.7125 MB / 1.066 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.3596, allocations: 19.44 kB / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.3596, allocations: 0 / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of Templates: time 0.005046/0.3647, allocations: 2.539 MB / 1.068 GB, free: 7.984 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/jenkins1/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