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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001841/0.001841, allocations: 102.2 kB / 16.27 MB, free: 6 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.002084/0.002084, allocations: 191 kB / 17.2 MB, free: 5.609 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.37/1.37, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.542/2.542, allocations: 469.4 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 63.44 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3423, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003896/0.3463, allocations: 2.151 MB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.3483, allocations: 1.048 MB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/0.3486, allocations: 0 / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.708e-05/0.3487, allocations: 23.67 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004533/0.3492, allocations: 87.22 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.3498, allocations: 191.6 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003992/0.3502, allocations: 298.8 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.3504, allocations: 60.66 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.3506, allocations: 107.6 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.3508, allocations: 143.4 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.3509, allocations: 20 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004529/0.3514, allocations: 295.6 kB / 1.069 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.105e-05/0.3514, allocations: 43.78 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.3516, allocations: 123.3 kB / 1.069 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000443/0.352, allocations: 327.1 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.352, allocations: 11.92 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.703e-06/0.352, allocations: 0 / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.3521, allocations: 0 / 1.069 GB, free: 10.09 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001152/0.3532, allocations: 0.6154 MB / 1.07 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3533, allocations: 8.625 kB / 1.07 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.3536, allocations: 40.56 kB / 1.07 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.3539, allocations: 287.5 kB / 1.07 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.354, allocations: 8.656 kB / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.354, allocations: 20.3 kB / 1.07 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005224/0.3545, allocations: 232.9 kB / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3545, allocations: 7.938 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.3546, allocations: 4 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.3546, allocations: 4 kB / 1.07 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006627/0.3553, allocations: 203.8 kB / 1.07 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.3565, allocations: 0.9306 MB / 1.071 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007732/0.3573, allocations: 237.2 kB / 1.072 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.3577, allocations: 109.6 kB / 1.072 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.3577, allocations: 8.25 kB / 1.072 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.3577, allocations: 34.55 kB / 1.072 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.184e-06/0.3578, allocations: 0 / 1.072 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.001182/0.3589, allocations: 333.1 kB / 1.072 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.141e-05/0.359, allocations: 81.11 kB / 1.072 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.3593, allocations: 271 kB / 1.072 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.3593, allocations: 29.7 kB / 1.072 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.3595, allocations: 164.1 kB / 1.073 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.3595, allocations: 55.19 kB / 1.073 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/0.3596, allocations: 45.64 kB / 1.073 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3597, allocations: 334.8 kB / 1.073 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.3601, allocations: 91.92 kB / 1.073 GB, free: 5.715 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.3604, allocations: 149.8 kB / 1.073 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006403/0.3611, allocations: 229.8 kB / 1.073 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3611, allocations: 4 kB / 1.073 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008352/0.3619, allocations: 293.6 kB / 1.074 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.362, allocations: 10.19 kB / 1.074 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.362, allocations: 96 / 1.074 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.362, allocations: 7.938 kB / 1.074 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.3623, allocations: 68.05 kB / 1.074 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3623, allocations: 0 / 1.074 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.3626, allocations: 43.8 kB / 1.074 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.3626, allocations: 4 kB / 1.074 GB, free: 4.875 MB / 0.8419 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.0001248/0.3627, allocations: 133.8 kB / 1.074 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.3628, allocations: 31.56 kB / 1.074 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008203/0.3637, allocations: 295.2 kB / 1.074 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3637, allocations: 0 / 1.074 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3637, allocations: 8 kB / 1.074 GB, free: 4.398 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3637, allocations: 3.984 kB / 1.074 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003867/0.3641, allocations: 293.3 kB / 1.075 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.3641, allocations: 3.938 kB / 1.075 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.3644, allocations: 55.95 kB / 1.075 GB, free: 4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3644, allocations: 0 / 1.075 GB, free: 4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.3644, allocations: 0 / 1.075 GB, free: 4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.3644, allocations: 7.938 kB / 1.075 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3644, allocations: 0 / 1.075 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008209/0.3652, allocations: 440.2 kB / 1.075 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.054e-05/0.3653, allocations: 112.6 kB / 1.075 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.3654, allocations: 8 kB / 1.075 GB, free: 3.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002661/0.3656, allocations: 23.95 kB / 1.075 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/0.3657, allocations: 19.97 kB / 1.075 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.3658, allocations: 8 kB / 1.075 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001765/0.3659, allocations: 189.9 kB / 1.075 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3659, allocations: 0 / 1.075 GB, free: 3.176 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003646/0.3663, allocations: 56.19 kB / 1.075 GB, free: 3.121 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.0002233/0.3665, allocations: 128 kB / 1.076 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007582/0.3673, allocations: 231.8 kB / 1.076 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3673, allocations: 0 / 1.076 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.3677, allocations: 123.8 kB / 1.076 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006142/0.3683, allocations: 69.34 kB / 1.076 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008913/0.3692, allocations: 478.9 kB / 1.076 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.3695, allocations: 0.748 MB / 1.077 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.303e-05/0.3696, allocations: 31.42 kB / 1.077 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of SimCode: time 5.71e-07/0.3696, allocations: 0 / 1.077 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of Templates: time 0.5239/0.8936, allocations: 3.448 MB / 1.081 GB, free: 21.71 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/jenkins1/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