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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001103/0.001103, allocations: 98.88 kB / 16.02 MB, free: 76 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.001598/0.001598, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.928/1.928, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.541/2.541, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004872, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8616/0.8622, allocations: 142.4 MB / 0.9557 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002242/0.8645, allocations: 1.851 MB / 0.9575 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.8662, allocations: 1.04 MB / 0.9585 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.8663, allocations: 1.875 kB / 0.9585 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.972e-05/0.8663, allocations: 19.78 kB / 0.9586 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003061/0.8667, allocations: 69.48 kB / 0.9586 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.867, allocations: 145.8 kB / 0.9588 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.8673, allocations: 279.9 kB / 0.959 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.8674, allocations: 64.25 kB / 0.9591 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.8676, allocations: 101 kB / 0.9592 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.8678, allocations: 122.1 kB / 0.9593 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.8678, allocations: 8.25 kB / 0.9593 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003812/0.8682, allocations: 292.7 kB / 0.9596 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.359e-05/0.8682, allocations: 37.33 kB / 0.9596 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.8683, allocations: 129 kB / 0.9598 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.8686, allocations: 223.2 kB / 0.96 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.8686, allocations: 0 / 0.96 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8686, allocations: 0 / 0.96 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.8686, allocations: 1.062 kB / 0.96 GB, free: 4.535 MB / 0.7169 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.0009727/0.8696, allocations: 0.6071 MB / 0.9606 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.8697, allocations: 13.94 kB / 0.9606 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.8699, allocations: 36.31 kB / 0.9606 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.8702, allocations: 277 kB / 0.9609 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.8702, allocations: 14.16 kB / 0.9609 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.428e-05/0.8702, allocations: 21.66 kB / 0.9609 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005464/0.8708, allocations: 256.5 kB / 0.9612 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.8708, allocations: 0 / 0.9612 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.8708, allocations: 6.75 kB / 0.9612 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.8708, allocations: 4.125 kB / 0.9612 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007074/0.8716, allocations: 240.9 kB / 0.9614 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.8726, allocations: 0.9484 MB / 0.9623 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008172/0.8734, allocations: 272.1 kB / 0.9626 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.8738, allocations: 128.8 kB / 0.9627 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.8738, allocations: 2.094 kB / 0.9627 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.8738, allocations: 35.62 kB / 0.9627 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.8739, allocations: 1.219 kB / 0.9627 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001295/0.8752, allocations: 396.1 kB / 0.9631 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.8752, allocations: 83.27 kB / 0.9632 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.8755, allocations: 271.5 kB / 0.9635 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.8755, allocations: 26.7 kB / 0.9635 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/0.8756, allocations: 160.7 kB / 0.9636 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.8756, allocations: 57.97 kB / 0.9637 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.8757, allocations: 22.84 kB / 0.9637 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.8758, allocations: 332.5 kB / 0.964 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.8761, allocations: 118.1 kB / 0.9641 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.8765, allocations: 161.4 kB / 0.9643 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.8772, allocations: 283.1 kB / 0.9646 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.8772, allocations: 5.125 kB / 0.9646 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009037/0.8782, allocations: 339.3 kB / 0.9649 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.8782, allocations: 5.469 kB / 0.9649 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.8782, allocations: 6.594 kB / 0.9649 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.8782, allocations: 2.125 kB / 0.9649 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.8785, allocations: 70.25 kB / 0.965 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.8785, allocations: 7.438 kB / 0.965 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.8788, allocations: 52.81 kB / 0.965 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.8788, allocations: 11.98 kB / 0.965 GB, free: 0.6992 MB / 0.7169 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 9.488e-05/0.8789, allocations: 130.6 kB / 0.9652 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.879, allocations: 25.03 kB / 0.9652 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000868/0.8799, allocations: 339.9 kB / 0.9655 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.8799, allocations: 2.812 kB / 0.9655 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.8799, allocations: 4.938 kB / 0.9655 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.8799, allocations: 0 / 0.9655 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.8803, allocations: 298.7 kB / 0.9658 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.8803, allocations: 4 kB / 0.9658 GB, free: 88 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.8806, allocations: 72.34 kB / 0.9659 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.8806, allocations: 1 kB / 0.9659 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.8806, allocations: 6.062 kB / 0.9659 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.8806, allocations: 1.031 kB / 0.9659 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.8806, allocations: 0.9688 kB / 0.9659 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009805/0.8816, allocations: 485.2 kB / 0.9664 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.243e-05/0.8817, allocations: 107.8 kB / 0.9665 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.8817, allocations: 6.094 kB / 0.9665 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.882, allocations: 39.22 kB / 0.9665 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.8821, allocations: 15.69 kB / 0.9665 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.8821, allocations: 8.656 kB / 0.9665 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001797/0.8823, allocations: 189.9 kB / 0.9667 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8823, allocations: 0.9688 kB / 0.9667 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000375/0.8827, allocations: 58.59 kB / 0.9668 GB, free: 15.45 MB / 0.7325 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.0002217/0.8829, allocations: 126.1 kB / 0.9669 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008283/0.8838, allocations: 264.6 kB / 0.9671 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8838, allocations: 0 / 0.9671 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.8842, allocations: 141.1 kB / 0.9673 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006335/0.8848, allocations: 69.38 kB / 0.9673 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009054/0.8857, allocations: 0.563 MB / 0.9679 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.8861, allocations: 0.75 MB / 0.9686 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.666e-05/0.8862, allocations: 25.53 kB / 0.9686 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.8862, allocations: 0 / 0.9686 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.0063/0.8925, allocations: 3.415 MB / 0.972 GB, free: 12.24 MB / 0.7325 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/jenkins1/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