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.001116/0.001121, allocations: 99.34 kB / 16.02 MB, free: 76 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.001799/0.001799, allocations: 187.7 kB / 16.92 MB, free: 6.75 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.424/1.424, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.76/2.76, allocations: 462.7 MB / 0.737 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003827, allocations: 11.31 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3326, allocations: 159.6 MB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005825/0.3385, allocations: 4.252 MB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.3397, allocations: 0.8179 MB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.3399, allocations: 0 / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.3401, allocations: 19.89 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.703e-05/0.3402, allocations: 31.77 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.3408, allocations: 151.5 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.341, allocations: 159.4 kB / 1.065 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3411, allocations: 21.11 kB / 1.065 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.3413, allocations: 75.75 kB / 1.065 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.3415, allocations: 75.67 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3415, allocations: 4 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003715/0.3419, allocations: 147.7 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.479e-05/0.3419, allocations: 23.91 kB / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.645e-05/0.342, allocations: 85.36 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.3423, allocations: 167.9 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3424, allocations: 0 / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3424, allocations: 0 / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.3424, allocations: 4 kB / 1.065 GB, free: 14.96 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.0009072/0.3433, allocations: 467 kB / 1.066 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3433, allocations: 8.031 kB / 1.066 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.355e-05/0.3434, allocations: 16.75 kB / 1.066 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.3436, allocations: 184.1 kB / 1.066 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3436, allocations: 12.38 kB / 1.066 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.3436, allocations: 12.31 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000369/0.344, allocations: 133.8 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.344, allocations: 0 / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.3441, allocations: 7.938 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3441, allocations: 0 / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.3445, allocations: 163.9 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.3456, allocations: 472.4 kB / 1.067 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.3459, allocations: 134.5 kB / 1.067 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.3461, allocations: 80.81 kB / 1.067 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.3475, allocations: 0.9606 MB / 1.068 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.3475, allocations: 34.56 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.3475, allocations: 0 / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0007467/0.3483, allocations: 249.3 kB / 1.068 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.3483, allocations: 51.41 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.3485, allocations: 175.9 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.3485, allocations: 29.7 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.3486, allocations: 108.3 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.3486, allocations: 35.45 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.3487, allocations: 29.7 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3488, allocations: 326.8 kB / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.3491, allocations: 87.94 kB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.3493, allocations: 116.9 kB / 1.069 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004634/0.3498, allocations: 200.7 kB / 1.069 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3498, allocations: 0 / 1.069 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006098/0.3504, allocations: 260 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3505, allocations: 9.656 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3505, allocations: 4 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3505, allocations: 7.922 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.3508, allocations: 64.06 kB / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3508, allocations: 0 / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.351, allocations: 35.77 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.351, allocations: 15.98 kB / 1.07 GB, free: 10.17 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.0001095/0.3511, allocations: 125.8 kB / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.3511, allocations: 11.81 kB / 1.07 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005324/0.3517, allocations: 210.7 kB / 1.07 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.3517, allocations: 0 / 1.07 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3517, allocations: 0 / 1.07 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3517, allocations: 0 / 1.07 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.352, allocations: 213.6 kB / 1.07 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.352, allocations: 4 kB / 1.07 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.3521, allocations: 35.97 kB / 1.07 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3522, allocations: 0 / 1.07 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3522, allocations: 7.938 kB / 1.07 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3522, allocations: 0 / 1.07 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3522, allocations: 0 / 1.07 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004894/0.3527, allocations: 291.6 kB / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.913e-05/0.3528, allocations: 100.9 kB / 1.07 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.3528, allocations: 7.938 kB / 1.07 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.353, allocations: 23.98 kB / 1.07 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.353, allocations: 7.984 kB / 1.071 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.353, allocations: 0 / 1.071 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.757e-05/0.3531, allocations: 120 kB / 1.071 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3531, allocations: 0 / 1.071 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003513/0.3535, allocations: 60.31 kB / 1.071 GB, free: 8.871 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.0003427/0.3538, allocations: 155.2 kB / 1.071 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00055/0.3544, allocations: 195.7 kB / 1.071 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3544, allocations: 4 kB / 1.071 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.3546, allocations: 76.14 kB / 1.071 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.355, allocations: 15.98 kB / 1.071 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005319/0.3555, allocations: 323.7 kB / 1.071 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.3558, allocations: 0.7048 MB / 1.072 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.3559, allocations: 19.44 kB / 1.072 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.3559, allocations: 0 / 1.072 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of Templates: time 0.005075/0.361, allocations: 2.533 MB / 1.075 GB, free: 4.816 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