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.002222/0.002221, allocations: 105 kB / 15.98 MB, free: 6.77 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.00213/0.00213, allocations: 194.2 kB / 16.91 MB, free: 6.551 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.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 4.539 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.386/2.386, allocations: 390.2 MB / 0.665 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001584, allocations: 63.89 kB / 0.8127 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7753/0.7769, allocations: 140.3 MB / 0.9498 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002972/0.78, allocations: 2.206 MB / 0.9519 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.7813, allocations: 1.023 MB / 0.9529 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.7815, allocations: 2.594 kB / 0.9529 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.575e-05/0.7815, allocations: 23.78 kB / 0.953 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.7818, allocations: 70.38 kB / 0.953 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.7822, allocations: 165.5 kB / 0.9532 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.7825, allocations: 292.9 kB / 0.9535 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.7827, allocations: 76.94 kB / 0.9535 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.7828, allocations: 108.5 kB / 0.9536 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.783, allocations: 142.7 kB / 0.9538 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.7831, allocations: 22.56 kB / 0.9538 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000367/0.7834, allocations: 294.5 kB / 0.9541 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.7835, allocations: 42.16 kB / 0.9541 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.798e-05/0.7836, allocations: 124.6 kB / 0.9542 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.7839, allocations: 230.3 kB / 0.9545 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7839, allocations: 0 / 0.9545 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.7839, allocations: 0 / 0.9545 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.7839, allocations: 5.156 kB / 0.9545 GB, free: 5.527 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.0009867/0.7849, allocations: 0.6197 MB / 0.9551 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.7849, allocations: 8.75 kB / 0.9551 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.7852, allocations: 41.2 kB / 0.9551 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.7854, allocations: 276.6 kB / 0.9554 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.7854, allocations: 14.22 kB / 0.9554 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.7855, allocations: 18.28 kB / 0.9554 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/0.786, allocations: 228.7 kB / 0.9556 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.786, allocations: 3.938 kB / 0.9556 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.786, allocations: 6.438 kB / 0.9556 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.786, allocations: 3.531 kB / 0.9556 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006353/0.7867, allocations: 207.2 kB / 0.9558 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009595/0.7876, allocations: 0.9373 MB / 0.9567 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006997/0.7883, allocations: 249.5 kB / 0.957 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.7886, allocations: 100.9 kB / 0.9571 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.7887, allocations: 5.391 kB / 0.9571 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.7887, allocations: 37.12 kB / 0.9571 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.7887, allocations: 0 / 0.9571 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001089/0.7898, allocations: 342 kB / 0.9574 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.7899, allocations: 83.8 kB / 0.9575 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.7901, allocations: 266.5 kB / 0.9578 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.7901, allocations: 27.05 kB / 0.9578 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.085e-05/0.7902, allocations: 160.6 kB / 0.958 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.7902, allocations: 53.08 kB / 0.958 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-05/0.7903, allocations: 40.8 kB / 0.9581 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.935e-05/0.7904, allocations: 340.2 kB / 0.9584 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.7907, allocations: 89.56 kB / 0.9585 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.791, allocations: 141 kB / 0.9586 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005907/0.7916, allocations: 240.8 kB / 0.9588 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7916, allocations: 3.938 kB / 0.9588 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007747/0.7924, allocations: 300.2 kB / 0.9591 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.7924, allocations: 7.906 kB / 0.9591 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.7924, allocations: 1.188 kB / 0.9591 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.7925, allocations: 7.312 kB / 0.9591 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.7928, allocations: 62.47 kB / 0.9592 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.7928, allocations: 10.62 kB / 0.9592 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.793, allocations: 33.69 kB / 0.9592 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.793, allocations: 10.88 kB / 0.9592 GB, free: 1.695 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 0.0001032/0.7932, allocations: 138 kB / 0.9594 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.7933, allocations: 25.47 kB / 0.9594 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007427/0.794, allocations: 294 kB / 0.9597 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.794, allocations: 3.531 kB / 0.9597 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.794, allocations: 0 / 0.9597 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.794, allocations: 1.031 kB / 0.9597 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.7944, allocations: 297.8 kB / 0.96 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.7944, allocations: 1.094 kB / 0.96 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.7947, allocations: 57.58 kB / 0.96 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.7947, allocations: 1.125 kB / 0.96 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.7947, allocations: 10.17 kB / 0.96 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.7947, allocations: 1.156 kB / 0.96 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7947, allocations: 1.312 kB / 0.96 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000767/0.7955, allocations: 445.4 kB / 0.9605 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.7955, allocations: 108.2 kB / 0.9606 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.7956, allocations: 1.094 kB / 0.9606 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/0.7959, allocations: 25.59 kB / 0.9606 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.7959, allocations: 19.59 kB / 0.9606 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.7959, allocations: 9.344 kB / 0.9606 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001594/0.7961, allocations: 189.6 kB / 0.9608 GB, free: 484 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7961, allocations: 0 / 0.9608 GB, free: 484 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003626/0.7965, allocations: 58.22 kB / 0.9609 GB, free: 472 kB / 0.7169 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.0002031/0.7967, allocations: 119.2 kB / 0.961 GB, free: 368 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007344/0.7974, allocations: 234.9 kB / 0.9612 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7974, allocations: 0 / 0.9612 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.7978, allocations: 117.9 kB / 0.9613 GB, free: 216 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.7984, allocations: 83.39 kB / 0.9614 GB, free: 164 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009131/0.7993, allocations: 0.5469 MB / 0.9619 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.7997, allocations: 0.7493 MB / 0.9627 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.146e-05/0.7998, allocations: 26.22 kB / 0.9627 GB, free: 15 MB / 0.7325 GB Notification: Performance of SimCode: time 4.61e-07/0.7998, allocations: 0 / 0.9627 GB, free: 15 MB / 0.7325 GB Notification: Performance of Templates: time 0.006403/0.8062, allocations: 3.453 MB / 0.966 GB, free: 13.21 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