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.001021/0.001021, allocations: 91.52 kB / 15.06 MB, free: 1.078 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.001271/0.001271, allocations: 176.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.669/2.669, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003068, allocations: 12.39 kB / 0.9021 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.245, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004589/0.2496, allocations: 4.091 MB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009356/0.2505, allocations: 0.7677 MB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.2506, allocations: 8 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.2508, allocations: 19.83 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.746e-05/0.2508, allocations: 31.77 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.2513, allocations: 135.5 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.2514, allocations: 155.4 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.024e-05/0.2515, allocations: 13.11 kB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.2517, allocations: 71.75 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.2518, allocations: 67.73 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.2518, allocations: 8 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.2521, allocations: 119.8 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.991e-05/0.2522, allocations: 31.89 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.2522, allocations: 45.64 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.2524, allocations: 155.9 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2525, allocations: 0 / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2525, allocations: 0 / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.2525, allocations: 0 / 1.064 GB, free: 15.59 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.0007486/0.2532, allocations: 474.7 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.2533, allocations: 8.031 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.2533, allocations: 15.81 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2534, allocations: 178.8 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2535, allocations: 12 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.2535, allocations: 12 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.2538, allocations: 127.5 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.2538, allocations: 0 / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2539, allocations: 4 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2539, allocations: 0 / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.2543, allocations: 171.8 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009112/0.2552, allocations: 472.4 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.2555, allocations: 138.5 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/0.2557, allocations: 80.81 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/0.2569, allocations: 0.9606 MB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.257, allocations: 38.5 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 2.885e-06/0.257, allocations: 0 / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0006482/0.2576, allocations: 241.7 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.2577, allocations: 55.39 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.2578, allocations: 164 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.2579, allocations: 29.7 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.2579, allocations: 108.3 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.258, allocations: 43.34 kB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.258, allocations: 8 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.085e-05/0.2581, allocations: 322.8 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.2583, allocations: 83.95 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.2586, allocations: 120.9 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.2588, allocations: 101.3 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2588, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005499/0.2594, allocations: 268.1 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2594, allocations: 8 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2594, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.2594, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.2597, allocations: 67.98 kB / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2597, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.2599, allocations: 43.66 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.2599, allocations: 8 kB / 1.068 GB, free: 10.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.879e-05/0.26, allocations: 121.8 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.2601, allocations: 15.86 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004766/0.2605, allocations: 206.9 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2606, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2606, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.2606, allocations: 3.984 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.2608, allocations: 213.5 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2608, allocations: 4 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.261, allocations: 31.92 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.261, allocations: 3.984 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.261, allocations: 15.95 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.261, allocations: 4 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.261, allocations: 0 / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.2615, allocations: 275.2 kB / 1.069 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.2615, allocations: 93 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.2616, allocations: 0 / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.2617, allocations: 27.94 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.2618, allocations: 15.97 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.2618, allocations: 0 / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.576e-05/0.2619, allocations: 119.9 kB / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2619, allocations: 0 / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003406/0.2622, allocations: 64.31 kB / 1.069 GB, free: 9.645 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000242/0.2625, allocations: 155.1 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.263, allocations: 187.8 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.263, allocations: 0 / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.2632, allocations: 84.08 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.2635, allocations: 19.98 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.264, allocations: 361.5 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.2642, allocations: 0.7048 MB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001073/0.2644, allocations: 21.45 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.2644, allocations: 15.44 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2644, allocations: 0 / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of Templates: time 0.005378/0.2698, allocations: 2.466 MB / 1.073 GB, free: 5.609 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/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