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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001577/0.001577, allocations: 109.7 kB / 16.27 MB, free: 6.016 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.001501/0.001501, allocations: 188.2 kB / 17.2 MB, free: 5.625 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.753/2.753, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 76.09 kB / 0.9245 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8205/0.8225, allocations: 162.2 MB / 1.083 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006686/0.8293, allocations: 4.582 MB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.8306, allocations: 0.8222 MB / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.303e-05/0.8307, allocations: 0 / 1.088 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.8309, allocations: 33.31 kB / 1.088 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.43e-05/0.8311, allocations: 36.41 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005834/0.8317, allocations: 169.9 kB / 1.088 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.8319, allocations: 179.5 kB / 1.089 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.832, allocations: 19.44 kB / 1.089 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.8322, allocations: 81.08 kB / 1.089 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.8323, allocations: 79.5 kB / 1.089 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.8324, allocations: 12.34 kB / 1.089 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/0.8328, allocations: 154.8 kB / 1.089 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.99e-05/0.8329, allocations: 31.92 kB / 1.089 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.903e-05/0.833, allocations: 70.95 kB / 1.089 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004221/0.8334, allocations: 234.4 kB / 1.089 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.8334, allocations: 0 / 1.089 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8334, allocations: 4.969 kB / 1.089 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.8334, allocations: 0 / 1.089 GB, free: 13.29 MB / 0.8419 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.001018/0.8345, allocations: 483.5 kB / 1.09 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.8345, allocations: 9.031 kB / 1.09 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.1e-05/0.8346, allocations: 10.94 kB / 1.09 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.8348, allocations: 191.1 kB / 1.09 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.8348, allocations: 9.844 kB / 1.09 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.8348, allocations: 11.38 kB / 1.09 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.8352, allocations: 121.1 kB / 1.09 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.8352, allocations: 0 / 1.09 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.8352, allocations: 6 kB / 1.09 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.8352, allocations: 1.375 kB / 1.09 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.8357, allocations: 138.8 kB / 1.09 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.8368, allocations: 470.1 kB / 1.091 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.8371, allocations: 122.8 kB / 1.091 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.8373, allocations: 72.83 kB / 1.091 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/0.8389, allocations: 0.9691 MB / 1.092 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.839, allocations: 31.12 kB / 1.092 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.839, allocations: 1.094 kB / 1.092 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0007404/0.8397, allocations: 215.8 kB / 1.092 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.8398, allocations: 54.91 kB / 1.092 GB, free: 11 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.84, allocations: 164.3 kB / 1.092 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.84, allocations: 26.61 kB / 1.092 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.8401, allocations: 112.5 kB / 1.092 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.8402, allocations: 41.06 kB / 1.092 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.665e-05/0.8403, allocations: 48.17 kB / 1.092 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.8405, allocations: 326.8 kB / 1.093 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.8408, allocations: 74.22 kB / 1.093 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.8411, allocations: 116.1 kB / 1.093 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/0.8415, allocations: 166.7 kB / 1.093 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8415, allocations: 4 kB / 1.093 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006643/0.8422, allocations: 248.9 kB / 1.093 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.8422, allocations: 4.969 kB / 1.093 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.8423, allocations: 1.781 kB / 1.093 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.8423, allocations: 5.125 kB / 1.093 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.8426, allocations: 55.25 kB / 1.093 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.8426, allocations: 6.891 kB / 1.093 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.8427, allocations: 28.09 kB / 1.093 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.8428, allocations: 10.58 kB / 1.093 GB, free: 10.06 MB / 0.8419 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.0001153/0.8429, allocations: 120.5 kB / 1.094 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.843, allocations: 12.59 kB / 1.094 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005412/0.8435, allocations: 188.6 kB / 1.094 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.8435, allocations: 1.125 kB / 1.094 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.8435, allocations: 1.688 kB / 1.094 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8435, allocations: 0.6562 kB / 1.094 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.8438, allocations: 210.5 kB / 1.094 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.8438, allocations: 0 / 1.094 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.844, allocations: 37.22 kB / 1.094 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.844, allocations: 4 kB / 1.094 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.844, allocations: 6.109 kB / 1.094 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.844, allocations: 1.25 kB / 1.094 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.844, allocations: 3.938 kB / 1.094 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.8446, allocations: 254.5 kB / 1.094 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.65e-05/0.8447, allocations: 105 kB / 1.094 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.8447, allocations: 10.25 kB / 1.094 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.8448, allocations: 16.48 kB / 1.094 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.8449, allocations: 11.58 kB / 1.094 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.8449, allocations: 3.047 kB / 1.094 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000105/0.845, allocations: 114 kB / 1.094 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.845, allocations: 0 / 1.094 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004055/0.8455, allocations: 63.41 kB / 1.095 GB, free: 9.219 MB / 0.8419 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.0003503/0.8458, allocations: 162.1 kB / 1.095 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005924/0.8464, allocations: 179 kB / 1.095 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8464, allocations: 0 / 1.095 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.8466, allocations: 68.03 kB / 1.095 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.847, allocations: 19.97 kB / 1.095 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.8476, allocations: 272.5 kB / 1.095 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.848, allocations: 0.7113 MB / 1.096 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.848, allocations: 17.72 kB / 1.096 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.848, allocations: 0 / 1.096 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of Templates: time 0.006168/0.8542, allocations: 2.556 MB / 1.098 GB, free: 7.812 MB / 0.8419 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=400 -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