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.001563/0.001563, allocations: 110.1 kB / 16.41 MB, free: 6.477 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.001793/0.001793, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.712/2.712, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 59.91 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9445/0.946, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00701/0.953, allocations: 4.567 MB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.9543, allocations: 0.8371 MB / 1.214 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.9544, allocations: 0 / 1.214 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.9547, allocations: 27.78 kB / 1.214 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.9548, allocations: 35.69 kB / 1.214 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.9555, allocations: 171.4 kB / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002569/0.9558, allocations: 171.4 kB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.9559, allocations: 13.12 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.9561, allocations: 87.67 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.9563, allocations: 79.67 kB / 1.214 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.9563, allocations: 16 kB / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003823/0.9567, allocations: 151.8 kB / 1.214 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.511e-05/0.9567, allocations: 31.91 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.227e-05/0.9568, allocations: 63.72 kB / 1.215 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.9572, allocations: 237 kB / 1.215 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.9573, allocations: 0 / 1.215 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9573, allocations: 4 kB / 1.215 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.9573, allocations: 0 / 1.215 GB, free: 7.121 MB / 0.9356 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.000936/0.9582, allocations: 482.8 kB / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.9583, allocations: 8.031 kB / 1.215 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.9583, allocations: 12.84 kB / 1.215 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.9585, allocations: 198.1 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.9585, allocations: 4.375 kB / 1.215 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.9586, allocations: 16.38 kB / 1.215 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.9589, allocations: 120 kB / 1.216 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.9589, allocations: 0 / 1.216 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.959, allocations: 8 kB / 1.216 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.959, allocations: 4 kB / 1.216 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/0.9594, allocations: 147.8 kB / 1.216 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.9604, allocations: 460.5 kB / 1.216 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.9607, allocations: 122.5 kB / 1.216 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.9609, allocations: 72.81 kB / 1.216 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001411/0.9624, allocations: 0.9686 MB / 1.217 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.9624, allocations: 42.48 kB / 1.217 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.9624, allocations: 0 / 1.217 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0006868/0.9631, allocations: 205.4 kB / 1.218 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.9632, allocations: 55.41 kB / 1.218 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.9633, allocations: 168 kB / 1.218 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.9634, allocations: 29.7 kB / 1.218 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.9634, allocations: 112.3 kB / 1.218 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.9635, allocations: 35.45 kB / 1.218 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-05/0.9636, allocations: 49.7 kB / 1.218 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.9637, allocations: 322.8 kB / 1.218 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.9639, allocations: 75.94 kB / 1.218 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.9642, allocations: 111.3 kB / 1.218 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.9646, allocations: 172.9 kB / 1.219 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.9646, allocations: 3.938 kB / 1.219 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005639/0.9652, allocations: 241.2 kB / 1.219 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.9652, allocations: 8.094 kB / 1.219 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.9652, allocations: 0 / 1.219 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.089e-05/0.9652, allocations: 7.938 kB / 1.219 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.9655, allocations: 59.89 kB / 1.219 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.9655, allocations: 0 / 1.219 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.9657, allocations: 27.83 kB / 1.219 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.9657, allocations: 8 kB / 1.219 GB, free: 2.449 MB / 0.9356 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.000117/0.9659, allocations: 121.8 kB / 1.219 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.9659, allocations: 15.81 kB / 1.219 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004995/0.9664, allocations: 187.2 kB / 1.219 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.9664, allocations: 0 / 1.219 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.9664, allocations: 3.984 kB / 1.219 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.9665, allocations: 7.984 kB / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.9667, allocations: 213.6 kB / 1.219 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.9667, allocations: 7.938 kB / 1.219 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.9669, allocations: 31.91 kB / 1.22 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.9669, allocations: 0 / 1.22 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.9669, allocations: 11.88 kB / 1.22 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.9669, allocations: 0 / 1.22 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.9669, allocations: 0 / 1.22 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.9674, allocations: 255.3 kB / 1.22 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.001e-05/0.9675, allocations: 104.8 kB / 1.22 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.9675, allocations: 3.938 kB / 1.22 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.9677, allocations: 23.97 kB / 1.22 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.9677, allocations: 4 kB / 1.22 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.9677, allocations: 3.984 kB / 1.22 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.131e-05/0.9678, allocations: 116.2 kB / 1.22 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9678, allocations: 4 kB / 1.22 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003507/0.9682, allocations: 64.11 kB / 1.22 GB, free: 1.199 MB / 0.9356 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.0003403/0.9685, allocations: 162.3 kB / 1.22 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005151/0.9691, allocations: 174.1 kB / 1.22 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9691, allocations: 0 / 1.22 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.9693, allocations: 63.89 kB / 1.22 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.9697, allocations: 32.17 kB / 1.22 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/0.9702, allocations: 262.9 kB / 1.221 GB, free: 496 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.9705, allocations: 0.7045 MB / 1.221 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.964e-05/0.9706, allocations: 19.44 kB / 1.221 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.9706, allocations: 3.938 kB / 1.221 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of Templates: time 0.004989/0.9756, allocations: 2.57 MB / 1.224 GB, free: 13.18 MB / 0.9512 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