Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 108 kB / 15.61 MB, free: 148 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.001701/0.001702, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 472.7 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 68.61 kB / 0.9121 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3704, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003863/0.3743, allocations: 2.15 MB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.3761, allocations: 1.055 MB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.3762, allocations: 7.938 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.3764, allocations: 27.66 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.3767, allocations: 79.3 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.3772, allocations: 187.5 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.3775, allocations: 294.8 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.3777, allocations: 64.7 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.3778, allocations: 103.6 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.378, allocations: 139.4 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.3781, allocations: 16 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000439/0.3785, allocations: 299.6 kB / 1.073 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.3e-05/0.3786, allocations: 59.75 kB / 1.073 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.3787, allocations: 119.3 kB / 1.073 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.3791, allocations: 327.1 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3791, allocations: 4 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3791, allocations: 0 / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.3791, allocations: 0 / 1.073 GB, free: 5.453 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001169/0.3803, allocations: 0.6193 MB / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3804, allocations: 12.03 kB / 1.074 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.3806, allocations: 40.55 kB / 1.074 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.3809, allocations: 275.5 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3809, allocations: 12.66 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.381, allocations: 12.38 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006068/0.3816, allocations: 240.8 kB / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3816, allocations: 0 / 1.074 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.3816, allocations: 16 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.3817, allocations: 4 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006578/0.3823, allocations: 191.8 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.3836, allocations: 0.9384 MB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007849/0.3844, allocations: 241.2 kB / 1.076 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/0.3848, allocations: 105.6 kB / 1.076 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.3848, allocations: 3.938 kB / 1.076 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.3849, allocations: 38.56 kB / 1.076 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.3849, allocations: 0 / 1.076 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.001397/0.3863, allocations: 337.9 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.3864, allocations: 81.11 kB / 1.076 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.3867, allocations: 266.9 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.3868, allocations: 29.7 kB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.3869, allocations: 168.1 kB / 1.077 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.387, allocations: 59.19 kB / 1.077 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.628e-05/0.3871, allocations: 37.7 kB / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3872, allocations: 342.8 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.3876, allocations: 87.91 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.388, allocations: 140.4 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007956/0.3888, allocations: 245.8 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3888, allocations: 0 / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008918/0.3897, allocations: 293.1 kB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.3897, allocations: 4 kB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3897, allocations: 7.938 kB / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.3897, allocations: 96 / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.3901, allocations: 63.88 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.3901, allocations: 4 kB / 1.078 GB, free: 296 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.3904, allocations: 43.84 kB / 1.078 GB, free: 252 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.3904, allocations: 11.94 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001908/0.3906, allocations: 131.6 kB / 1.078 GB, free: 100 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.3908, allocations: 27.66 kB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009193/0.3917, allocations: 287.2 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.3917, allocations: 7.984 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.3917, allocations: 0 / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3918, allocations: 0 / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.3922, allocations: 297.3 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/0.3923, allocations: 15.92 kB / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.3925, allocations: 55.89 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3926, allocations: 0 / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.3926, allocations: 8 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3926, allocations: 0 / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3926, allocations: 3.984 kB / 1.079 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008933/0.3935, allocations: 440.7 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.664e-05/0.3936, allocations: 108.6 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.3937, allocations: 7.984 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.3939, allocations: 31.97 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.394, allocations: 19.97 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.394, allocations: 4 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001866/0.3942, allocations: 190 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3942, allocations: 0 / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004004/0.3946, allocations: 48 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002286/0.3949, allocations: 124.1 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008227/0.3957, allocations: 235.6 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3957, allocations: 0 / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.3961, allocations: 120.2 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006357/0.3968, allocations: 81.5 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000884/0.3976, allocations: 446.8 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.3981, allocations: 0.7518 MB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.3983, allocations: 26.3 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.34e-05/0.3984, allocations: 19.44 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3984, allocations: 0 / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of Templates: time 0.008588/0.407, allocations: 3.95 MB / 1.085 GB, free: 8.766 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches