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.005577/0.005577, allocations: 101.6 kB / 15.73 MB, free: 6.031 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.001279/0.001279, allocations: 194.4 kB / 16.67 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.718/2.718, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.91 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4154, allocations: 157.4 MB / 1.208 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003186/0.4187, allocations: 2.163 MB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.4203, allocations: 1.044 MB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.4204, allocations: 7.938 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.386e-05/0.4205, allocations: 23.67 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003093/0.4208, allocations: 79.28 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.4212, allocations: 199.5 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003055/0.4216, allocations: 286.9 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.4217, allocations: 68.64 kB / 1.212 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.4219, allocations: 111.6 kB / 1.212 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.4221, allocations: 139.4 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.4221, allocations: 16 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003982/0.4225, allocations: 295.7 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.4226, allocations: 63.69 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.64e-05/0.4227, allocations: 111.3 kB / 1.212 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.4231, allocations: 330.8 kB / 1.213 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4231, allocations: 4 kB / 1.213 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4231, allocations: 0 / 1.213 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.4231, allocations: 0 / 1.213 GB, free: 4.691 MB / 0.9669 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.00108/0.4242, allocations: 0.6272 MB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.4242, allocations: 16.56 kB / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.4244, allocations: 36.56 kB / 1.213 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.4248, allocations: 283.5 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.4248, allocations: 8.656 kB / 1.214 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.4249, allocations: 20.31 kB / 1.214 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/0.4254, allocations: 229 kB / 1.214 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.4254, allocations: 0 / 1.214 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.4255, allocations: 7.938 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.4255, allocations: 8 kB / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006634/0.4261, allocations: 199.7 kB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.4273, allocations: 0.9385 MB / 1.215 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.4281, allocations: 237.2 kB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.4284, allocations: 109.5 kB / 1.215 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.4285, allocations: 7.938 kB / 1.215 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.4285, allocations: 38.56 kB / 1.215 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.4285, allocations: 0 / 1.215 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.001162/0.4297, allocations: 337.4 kB / 1.216 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.4297, allocations: 81.11 kB / 1.216 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.43, allocations: 270.9 kB / 1.216 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.43, allocations: 29.7 kB / 1.216 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.4301, allocations: 156.2 kB / 1.216 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.4302, allocations: 59.19 kB / 1.216 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.4302, allocations: 41.7 kB / 1.216 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4304, allocations: 338.8 kB / 1.216 GB, free: 400 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.4307, allocations: 91.91 kB / 1.217 GB, free: 308 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.4311, allocations: 141.9 kB / 1.217 GB, free: 144 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006839/0.4318, allocations: 233.8 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4318, allocations: 0 / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008427/0.4326, allocations: 297.6 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4326, allocations: 8 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4327, allocations: 0 / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4327, allocations: 8.156 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.433, allocations: 63.88 kB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.433, allocations: 4.062 kB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.4332, allocations: 43.72 kB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.4332, allocations: 7.984 kB / 1.217 GB, free: 15.46 MB / 0.9825 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.0001159/0.4334, allocations: 129.8 kB / 1.217 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.4335, allocations: 35.66 kB / 1.218 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008375/0.4343, allocations: 295.2 kB / 1.218 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4343, allocations: 0 / 1.218 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4343, allocations: 0 / 1.218 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.4343, allocations: 4 kB / 1.218 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.4347, allocations: 297.2 kB / 1.218 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4347, allocations: 7.875 kB / 1.218 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.435, allocations: 47.95 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.435, allocations: 7.984 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.435, allocations: 4 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.435, allocations: 8 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.435, allocations: 3.938 kB / 1.218 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008595/0.4359, allocations: 431.3 kB / 1.219 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.436, allocations: 112.7 kB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.436, allocations: 8 kB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.4363, allocations: 23.97 kB / 1.219 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/0.4364, allocations: 19.97 kB / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.4364, allocations: 4 kB / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001653/0.4366, allocations: 190 kB / 1.219 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4366, allocations: 4 kB / 1.219 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003364/0.4369, allocations: 52 kB / 1.219 GB, free: 13.71 MB / 0.9825 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.0001969/0.4371, allocations: 117.6 kB / 1.219 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000771/0.4379, allocations: 229.1 kB / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4379, allocations: 384 / 1.219 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.4383, allocations: 119.8 kB / 1.219 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.4388, allocations: 77.31 kB / 1.219 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007521/0.4396, allocations: 443 kB / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.4399, allocations: 0.7594 MB / 1.221 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.44, allocations: 30.28 kB / 1.221 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.148e-05/0.4401, allocations: 27.44 kB / 1.221 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.4401, allocations: 0 / 1.221 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of Templates: time 0.007645/0.4478, allocations: 4.079 MB / 1.225 GB, free: 7.859 MB / 0.9825 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