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.001752/0.001752, allocations: 106.5 kB / 16.36 MB, free: 6.336 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.001916/0.001916, allocations: 198 kB / 17.3 MB, free: 5.883 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.166/2.166, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 65.08 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2584, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.00312/0.2616, allocations: 2.155 MB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.2632, allocations: 1.045 MB / 0.9542 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.2633, allocations: 7.938 kB / 0.9543 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.279e-05/0.2634, allocations: 23.67 kB / 0.9543 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002833/0.2637, allocations: 79.28 kB / 0.9544 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003935/0.2641, allocations: 199.4 kB / 0.9545 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.2644, allocations: 286.8 kB / 0.9548 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.2646, allocations: 72.5 kB / 0.9549 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.2647, allocations: 115.5 kB / 0.955 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.2649, allocations: 143.3 kB / 0.9551 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.265, allocations: 16 kB / 0.9551 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.2654, allocations: 291.7 kB / 0.9554 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.2654, allocations: 51.77 kB / 0.9555 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.2656, allocations: 123.3 kB / 0.9556 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003686/0.2659, allocations: 330.8 kB / 0.9559 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2659, allocations: 0 / 0.9559 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.278e-06/0.266, allocations: 0 / 0.9559 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.266, allocations: 3.938 kB / 0.9559 GB, free: 3.098 MB / 0.7325 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.001091/0.2671, allocations: 0.6272 MB / 0.9565 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2671, allocations: 8.031 kB / 0.9565 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.2673, allocations: 36.56 kB / 0.9566 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.2678, allocations: 283.5 kB / 0.9568 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.2678, allocations: 12.66 kB / 0.9568 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.2678, allocations: 16.12 kB / 0.9569 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005062/0.2683, allocations: 224.7 kB / 0.9571 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2684, allocations: 7.938 kB / 0.9571 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.2684, allocations: 4 kB / 0.9571 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.2684, allocations: 4 kB / 0.9571 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006289/0.269, allocations: 203.8 kB / 0.9573 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.2701, allocations: 0.9344 MB / 0.9582 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007383/0.2709, allocations: 241.1 kB / 0.9584 GB, free: 328 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.2712, allocations: 105.6 kB / 0.9585 GB, free: 216 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.2712, allocations: 8.297 kB / 0.9585 GB, free: 208 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.2713, allocations: 38.55 kB / 0.9586 GB, free: 160 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.2713, allocations: 0 / 0.9586 GB, free: 160 kB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.001089/0.2724, allocations: 333 kB / 0.9589 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.2724, allocations: 85.05 kB / 0.959 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.2727, allocations: 267 kB / 0.9592 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.2727, allocations: 29.7 kB / 0.9593 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.2728, allocations: 164.1 kB / 0.9594 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.2729, allocations: 55.2 kB / 0.9595 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/0.273, allocations: 41.61 kB / 0.9595 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2731, allocations: 338.8 kB / 0.9598 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.2734, allocations: 91.91 kB / 0.9599 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.2737, allocations: 144.1 kB / 0.9601 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005996/0.2743, allocations: 234.4 kB / 0.9603 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.2743, allocations: 3.938 kB / 0.9603 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007618/0.2751, allocations: 301 kB / 0.9606 GB, free: 14 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2751, allocations: 4 kB / 0.9606 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2751, allocations: 8 kB / 0.9606 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.2752, allocations: 4 kB / 0.9606 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.2754, allocations: 59.88 kB / 0.9606 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2755, allocations: 4 kB / 0.9606 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.2757, allocations: 43.88 kB / 0.9607 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.2757, allocations: 11.98 kB / 0.9607 GB, free: 13.86 MB / 0.7481 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.0001127/0.2758, allocations: 133.7 kB / 0.9608 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.276, allocations: 23.72 kB / 0.9608 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007617/0.2767, allocations: 299.2 kB / 0.9611 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2767, allocations: 4 kB / 0.9611 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2768, allocations: 0 / 0.9611 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2768, allocations: 0 / 0.9611 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/0.2771, allocations: 297.4 kB / 0.9614 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2771, allocations: 4 kB / 0.9614 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.2774, allocations: 51.94 kB / 0.9615 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.2774, allocations: 4 kB / 0.9615 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.2774, allocations: 4 kB / 0.9615 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.2774, allocations: 3.938 kB / 0.9615 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2774, allocations: 4 kB / 0.9615 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000765/0.2782, allocations: 440.2 kB / 0.9619 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.2783, allocations: 104.8 kB / 0.962 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.2783, allocations: 4 kB / 0.962 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.2786, allocations: 31.97 kB / 0.962 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.2787, allocations: 23.91 kB / 0.9621 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.2787, allocations: 4 kB / 0.9621 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000166/0.2788, allocations: 190 kB / 0.9623 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.2789, allocations: 3.938 kB / 0.9623 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003593/0.2792, allocations: 59.84 kB / 0.9623 GB, free: 12.11 MB / 0.7481 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.0001827/0.2794, allocations: 119.5 kB / 0.9624 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006921/0.2801, allocations: 219.7 kB / 0.9626 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2801, allocations: 320 / 0.9626 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.2805, allocations: 123.8 kB / 0.9628 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.281, allocations: 81.59 kB / 0.9628 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007503/0.2818, allocations: 430.9 kB / 0.9632 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.282, allocations: 0.7557 MB / 0.964 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001376/0.2822, allocations: 30.3 kB / 0.964 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.2823, allocations: 23.44 kB / 0.964 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of SimCode: time 4.81e-07/0.2823, allocations: 0 / 0.964 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of Templates: time 0.007492/0.2898, allocations: 3.944 MB / 0.9679 GB, free: 6.41 MB / 0.7481 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 -s gbode -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