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.001182/0.001182, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008542/0.008542, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.421/2.421, allocations: 390.9 MB / 0.6663 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003435, allocations: 12 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6609/0.6612, allocations: 142.4 MB / 0.955 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.001977/0.6632, allocations: 1.851 MB / 0.9569 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.6646, allocations: 1.047 MB / 0.9579 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.6648, allocations: 6.438 kB / 0.9579 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.6648, allocations: 15.84 kB / 0.9579 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.6651, allocations: 69.39 kB / 0.958 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.6654, allocations: 144.1 kB / 0.9581 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000237/0.6657, allocations: 282 kB / 0.9584 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.6658, allocations: 68.42 kB / 0.9584 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.985e-05/0.6659, allocations: 96.53 kB / 0.9585 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.6661, allocations: 126.6 kB / 0.9586 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.6661, allocations: 6.594 kB / 0.9587 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003445/0.6665, allocations: 288.9 kB / 0.9589 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.914e-05/0.6665, allocations: 33.33 kB / 0.959 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.254e-05/0.6666, allocations: 136.6 kB / 0.9591 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.6669, allocations: 314.2 kB / 0.9594 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6669, allocations: 0 / 0.9594 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6669, allocations: 0 / 0.9594 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.6669, allocations: 0 / 0.9594 GB, free: 4.422 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.0008887/0.6678, allocations: 0.6078 MB / 0.96 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.6679, allocations: 8.25 kB / 0.96 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.6681, allocations: 41.17 kB / 0.96 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.6683, allocations: 276.5 kB / 0.9603 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.6684, allocations: 11.53 kB / 0.9603 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.6684, allocations: 17.75 kB / 0.9603 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.6689, allocations: 252.2 kB / 0.9606 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.6689, allocations: 0 / 0.9606 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.669, allocations: 13.22 kB / 0.9606 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.669, allocations: 8.578 kB / 0.9606 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007265/0.6697, allocations: 241.7 kB / 0.9608 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009071/0.6706, allocations: 0.9437 MB / 0.9617 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007736/0.6714, allocations: 268.5 kB / 0.962 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.6718, allocations: 128.5 kB / 0.9621 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.6718, allocations: 6.094 kB / 0.9621 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.6718, allocations: 36.56 kB / 0.9622 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.6718, allocations: 0 / 0.9622 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001242/0.6731, allocations: 404.8 kB / 0.9625 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.6731, allocations: 80.02 kB / 0.9626 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.6734, allocations: 266 kB / 0.9629 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.6734, allocations: 30.77 kB / 0.9629 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.6735, allocations: 161.3 kB / 0.9631 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.6735, allocations: 58.03 kB / 0.9631 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.6735, allocations: 23.05 kB / 0.9631 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.935e-05/0.6736, allocations: 341.1 kB / 0.9635 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.6739, allocations: 108.5 kB / 0.9636 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/0.6743, allocations: 162.3 kB / 0.9637 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006883/0.675, allocations: 287 kB / 0.964 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.675, allocations: 4.844 kB / 0.964 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008716/0.6759, allocations: 331.1 kB / 0.9643 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6759, allocations: 5.688 kB / 0.9643 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6759, allocations: 1.25 kB / 0.9643 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.676, allocations: 7.281 kB / 0.9643 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.6763, allocations: 72.48 kB / 0.9644 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.6763, allocations: 6.906 kB / 0.9644 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.6765, allocations: 50.97 kB / 0.9644 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.6766, allocations: 11.12 kB / 0.9645 GB, free: 0.5898 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 8.965e-05/0.6767, allocations: 134.8 kB / 0.9646 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.6768, allocations: 24.12 kB / 0.9646 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008293/0.6776, allocations: 330.5 kB / 0.9649 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.6776, allocations: 10.66 kB / 0.9649 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6776, allocations: 5.312 kB / 0.9649 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6777, allocations: 3.984 kB / 0.9649 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.678, allocations: 301.6 kB / 0.9652 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.678, allocations: 4.781 kB / 0.9652 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.6783, allocations: 64.42 kB / 0.9653 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.6783, allocations: 5.406 kB / 0.9653 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.6783, allocations: 1.312 kB / 0.9653 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.6783, allocations: 1.312 kB / 0.9653 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6783, allocations: 0.9062 kB / 0.9653 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009196/0.6793, allocations: 488.9 kB / 0.9658 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.6793, allocations: 108 kB / 0.9659 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.6794, allocations: 1.188 kB / 0.9659 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.6797, allocations: 43.42 kB / 0.9659 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.6798, allocations: 15.7 kB / 0.9659 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.6798, allocations: 8.484 kB / 0.9659 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001691/0.6799, allocations: 190.7 kB / 0.9661 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.68, allocations: 0 / 0.9661 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003692/0.6803, allocations: 58.75 kB / 0.9662 GB, free: 15.34 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.0001934/0.6805, allocations: 113.9 kB / 0.9663 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008372/0.6814, allocations: 268.8 kB / 0.9665 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6814, allocations: 0 / 0.9665 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000397/0.6818, allocations: 141.3 kB / 0.9667 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006378/0.6824, allocations: 75.33 kB / 0.9668 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007903/0.6832, allocations: 0.5275 MB / 0.9673 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.6835, allocations: 0.7501 MB / 0.968 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001464/0.6837, allocations: 28.88 kB / 0.968 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.148e-05/0.6838, allocations: 20.56 kB / 0.968 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.654e-06/0.6838, allocations: 1 kB / 0.968 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.007336/0.6911, allocations: 3.567 MB / 0.9715 GB, free: 12.15 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/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