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.001533/0.001533, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001871/0.001871, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.857/2.857, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 68.19 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3779, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006995/0.3849, allocations: 4.617 MB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.3861, allocations: 0.8374 MB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/0.3862, allocations: 4 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.3865, allocations: 19.91 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.928e-05/0.3865, allocations: 27.77 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005527/0.3871, allocations: 151.5 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.3873, allocations: 163.4 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.3874, allocations: 28.86 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.3876, allocations: 71.7 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.938e-05/0.3877, allocations: 71.73 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.3877, allocations: 8 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.3881, allocations: 151.7 kB / 1.074 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.3881, allocations: 27.89 kB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.194e-05/0.3882, allocations: 55.67 kB / 1.074 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.3885, allocations: 239.6 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3886, allocations: 0 / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.22e-07/0.3886, allocations: 0 / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.3886, allocations: 0 / 1.074 GB, free: 4.445 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.000915/0.3895, allocations: 482.8 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3895, allocations: 12.03 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.3896, allocations: 8.844 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.3898, allocations: 191 kB / 1.075 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3898, allocations: 8.375 kB / 1.075 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.3898, allocations: 8.375 kB / 1.075 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004148/0.3902, allocations: 125.7 kB / 1.075 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3903, allocations: 7.984 kB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.3903, allocations: 4 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3903, allocations: 0 / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004296/0.3907, allocations: 135.9 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.3918, allocations: 472.4 kB / 1.075 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.3921, allocations: 122.5 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000248/0.3924, allocations: 72.8 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/0.3937, allocations: 0.9686 MB / 1.076 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.3938, allocations: 38.56 kB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.3938, allocations: 4 kB / 1.076 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006836/0.3945, allocations: 213.3 kB / 1.077 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.3945, allocations: 51.41 kB / 1.077 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.3947, allocations: 159.3 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.3947, allocations: 33.7 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.674e-05/0.3948, allocations: 112.2 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.3949, allocations: 39.45 kB / 1.077 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.395, allocations: 49.7 kB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3951, allocations: 322.8 kB / 1.077 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.3954, allocations: 71.94 kB / 1.077 GB, free: 448 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.3956, allocations: 112 kB / 1.078 GB, free: 324 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.3961, allocations: 171.3 kB / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3961, allocations: 4 kB / 1.078 GB, free: 136 kB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006999/0.3968, allocations: 243.4 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3968, allocations: 4 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3968, allocations: 4 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.3968, allocations: 12.02 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.3971, allocations: 47.97 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3971, allocations: 7.938 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.3973, allocations: 31.77 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/0.3973, allocations: 7.984 kB / 1.078 GB, free: 15.78 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.0001028/0.3975, allocations: 121.8 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.3975, allocations: 11.81 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004793/0.398, allocations: 186.7 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.398, allocations: 4 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.398, allocations: 0 / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.398, allocations: 0 / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.3982, allocations: 213.6 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3983, allocations: 0 / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.3984, allocations: 35.97 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3984, allocations: 0 / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.3984, allocations: 7.938 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3984, allocations: 0 / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3985, allocations: 0 / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.3989, allocations: 267.1 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/0.399, allocations: 100.9 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.399, allocations: 7.938 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.3992, allocations: 15.98 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.3992, allocations: 7.984 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.3992, allocations: 4 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.135e-05/0.3993, allocations: 120.9 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3993, allocations: 0 / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003386/0.3997, allocations: 60.06 kB / 1.079 GB, free: 14.54 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.0003098/0.4, allocations: 159.2 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004891/0.4005, allocations: 175.8 kB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4005, allocations: 0 / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.4007, allocations: 67.89 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.4011, allocations: 29.55 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005521/0.4017, allocations: 275 kB / 1.08 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.402, allocations: 0.7048 MB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.91e-05/0.4021, allocations: 24.95 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.4021, allocations: 15.44 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of SimCode: time 6.31e-07/0.4021, allocations: 0 / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of Templates: time 0.005984/0.4081, allocations: 2.556 MB / 1.083 GB, free: 10.52 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=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