Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001675/0.001675, allocations: 105.3 kB / 15.98 MB, free: 6.352 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.001537/0.001537, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.432/1.432, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.673/2.673, allocations: 469.8 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 64.27 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3741, allocations: 159.1 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006779/0.381, allocations: 4.624 MB / 1.069 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.3822, allocations: 0.81 MB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.266e-05/0.3823, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.3826, allocations: 31.88 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.502e-05/0.3826, allocations: 27.72 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.3832, allocations: 147.5 kB / 1.07 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.3834, allocations: 175.4 kB / 1.07 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.996e-05/0.3835, allocations: 25.11 kB / 1.07 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.3837, allocations: 79.7 kB / 1.07 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.3838, allocations: 75.72 kB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.3839, allocations: 16 kB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003258/0.3842, allocations: 159.7 kB / 1.07 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.285e-05/0.3842, allocations: 27.91 kB / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.775e-05/0.3843, allocations: 71.66 kB / 1.07 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.3846, allocations: 175.9 kB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3846, allocations: 0 / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3846, allocations: 0 / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.3846, allocations: 0 / 1.07 GB, free: 8.688 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.0009624/0.3856, allocations: 482.9 kB / 1.071 GB, free: 8.168 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3857, allocations: 12.62 kB / 1.071 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.3857, allocations: 12.78 kB / 1.071 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.3859, allocations: 180.2 kB / 1.071 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.3859, allocations: 8.375 kB / 1.071 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.3859, allocations: 12.38 kB / 1.071 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.3863, allocations: 125.6 kB / 1.071 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3863, allocations: 0 / 1.071 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.3864, allocations: 4 kB / 1.071 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.3864, allocations: 0 / 1.071 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.3868, allocations: 143.9 kB / 1.071 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.3878, allocations: 468.4 kB / 1.072 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.3881, allocations: 122.5 kB / 1.072 GB, free: 7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.3883, allocations: 68.81 kB / 1.072 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001522/0.3899, allocations: 0.9648 MB / 1.073 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.3899, allocations: 34.56 kB / 1.073 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.3899, allocations: 0 / 1.073 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0006933/0.3906, allocations: 221.2 kB / 1.073 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.3907, allocations: 51.41 kB / 1.073 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.3908, allocations: 175.2 kB / 1.073 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.3909, allocations: 29.7 kB / 1.073 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/0.391, allocations: 104.3 kB / 1.074 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.391, allocations: 43.44 kB / 1.074 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.3911, allocations: 53.69 kB / 1.074 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3913, allocations: 322.8 kB / 1.074 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.3915, allocations: 71.95 kB / 1.074 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.3918, allocations: 116.7 kB / 1.074 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.3923, allocations: 161.3 kB / 1.074 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3923, allocations: 0 / 1.074 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005968/0.3929, allocations: 256.2 kB / 1.074 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3929, allocations: 4 kB / 1.074 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3929, allocations: 4 kB / 1.074 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.393, allocations: 3.938 kB / 1.074 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.3933, allocations: 51.97 kB / 1.075 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/0.3933, allocations: 16.02 kB / 1.075 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.3935, allocations: 35.7 kB / 1.075 GB, free: 4.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.3935, allocations: 8 kB / 1.075 GB, free: 4.012 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.0001197/0.3936, allocations: 124 kB / 1.075 GB, free: 3.883 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.3937, allocations: 11.81 kB / 1.075 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/0.3942, allocations: 178.9 kB / 1.075 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.84e-06/0.3942, allocations: 4 kB / 1.075 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3942, allocations: 0 / 1.075 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3942, allocations: 0 / 1.075 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.3945, allocations: 205.6 kB / 1.075 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3945, allocations: 3.984 kB / 1.075 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.3947, allocations: 31.98 kB / 1.075 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3947, allocations: 0 / 1.075 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.3947, allocations: 7.938 kB / 1.075 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3947, allocations: 0 / 1.075 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.3947, allocations: 3.984 kB / 1.075 GB, free: 3.391 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.3952, allocations: 263.1 kB / 1.075 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.333e-05/0.3953, allocations: 96.94 kB / 1.075 GB, free: 3.004 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.3953, allocations: 11.94 kB / 1.076 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.3955, allocations: 15.97 kB / 1.076 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.3955, allocations: 11.98 kB / 1.076 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.3955, allocations: 4 kB / 1.076 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001004/0.3956, allocations: 116.9 kB / 1.076 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3956, allocations: 0 / 1.076 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003379/0.396, allocations: 63.95 kB / 1.076 GB, free: 2.785 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.0003299/0.3963, allocations: 163.1 kB / 1.076 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005073/0.3968, allocations: 176 kB / 1.076 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3968, allocations: 0 / 1.076 GB, free: 2.441 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.3971, allocations: 68.55 kB / 1.076 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.3975, allocations: 19.98 kB / 1.076 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.398, allocations: 315.2 kB / 1.076 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.3984, allocations: 0.7122 MB / 1.077 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.3985, allocations: 15.44 kB / 1.077 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3985, allocations: 0 / 1.077 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of Templates: time 0.4715/0.8699, allocations: 2.547 MB / 1.08 GB, free: 22.46 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches