Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.007985/0.007985, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001329/0.001329, allocations: 195.5 kB / 16.68 MB, free: 5.969 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.257/2.257, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.91 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7672/0.7684, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002724/0.7712, allocations: 2.161 MB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.7726, allocations: 1.016 MB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.969e-05/0.7727, allocations: 6.812 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.114e-05/0.7728, allocations: 24.84 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.7731, allocations: 85.86 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.7735, allocations: 187.3 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.7738, allocations: 299.2 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.7739, allocations: 64.09 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.7741, allocations: 107.2 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.7743, allocations: 143.4 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.7743, allocations: 25.41 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004749/0.7748, allocations: 298.1 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.7749, allocations: 44.23 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.775, allocations: 118.8 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.7754, allocations: 339.3 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7754, allocations: 1.094 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7754, allocations: 3.938 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.7754, allocations: 0 / 1.093 GB, free: 2.5 MB / 0.8575 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.0009687/0.7764, allocations: 0.6368 MB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.7765, allocations: 9.25 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.7767, allocations: 46.7 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.777, allocations: 282.8 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.777, allocations: 10.69 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.777, allocations: 21.62 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005398/0.7776, allocations: 227.9 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.7776, allocations: 5.031 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.7776, allocations: 5.938 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.7776, allocations: 3.438 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007068/0.7784, allocations: 198.3 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.7794, allocations: 0.9548 MB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008121/0.7802, allocations: 245.6 kB / 1.095 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/0.7806, allocations: 106.9 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.7806, allocations: 2.375 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.7806, allocations: 32.95 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.7806, allocations: 0 / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.001231/0.7819, allocations: 336 kB / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.7819, allocations: 84.62 kB / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.7822, allocations: 268.8 kB / 1.096 GB, free: 164 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.7822, allocations: 26.42 kB / 1.096 GB, free: 132 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.7823, allocations: 162.4 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.7824, allocations: 55.97 kB / 1.096 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.7824, allocations: 40.11 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.7826, allocations: 335.5 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.7829, allocations: 93.05 kB / 1.097 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.7833, allocations: 143.8 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007258/0.7841, allocations: 243.6 kB / 1.097 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7841, allocations: 0.9688 kB / 1.097 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009159/0.785, allocations: 292.9 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.785, allocations: 9.438 kB / 1.097 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.785, allocations: 1.969 kB / 1.097 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.785, allocations: 2.812 kB / 1.097 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.7854, allocations: 68.69 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.7854, allocations: 7.359 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.7856, allocations: 34 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.7857, allocations: 11.58 kB / 1.098 GB, free: 15.23 MB / 0.8731 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.000119/0.7858, allocations: 139.7 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.7859, allocations: 29.06 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008894/0.7868, allocations: 291.2 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.7868, allocations: 4.047 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7868, allocations: 0.8125 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7868, allocations: 4 kB / 1.098 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.7872, allocations: 300.5 kB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.7872, allocations: 0 / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.7875, allocations: 59.11 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.7875, allocations: 1.031 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.7876, allocations: 1.922 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.7876, allocations: 2.062 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7876, allocations: 0 / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009/0.7885, allocations: 439 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.435e-05/0.7886, allocations: 109.7 kB / 1.099 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.7886, allocations: 2.734 kB / 1.099 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.7889, allocations: 31.31 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.789, allocations: 24.89 kB / 1.099 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.789, allocations: 9 kB / 1.099 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001882/0.7892, allocations: 186.2 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7892, allocations: 1.094 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000368/0.7896, allocations: 62.06 kB / 1.099 GB, free: 14.18 MB / 0.8731 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.0001792/0.7897, allocations: 120.5 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008039/0.7906, allocations: 237.5 kB / 1.1 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7906, allocations: 0 / 1.1 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003939/0.791, allocations: 120.7 kB / 1.1 GB, free: 14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.7915, allocations: 76.33 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007566/0.7923, allocations: 430.8 kB / 1.1 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.7927, allocations: 0.7585 MB / 1.101 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.7928, allocations: 35.28 kB / 1.101 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.7929, allocations: 21.84 kB / 1.101 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.7929, allocations: 0 / 1.101 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of Templates: time 0.008594/0.8015, allocations: 3.981 MB / 1.105 GB, free: 12.7 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches