Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.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.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001589/0.001589, allocations: 196.7 kB / 16.26 MB, free: 6.629 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.465 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.321/2.321, allocations: 390.2 MB / 0.6643 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6334/0.6346, allocations: 140.4 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.00356/0.6383, allocations: 2.408 MB / 0.9515 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.6409, allocations: 1.839 MB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.641, allocations: 1.25 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007088/0.6418, allocations: 213 kB / 0.9535 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.6419, allocations: 55.48 kB / 0.9535 GB, free: 5.578 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.6429, allocations: 388.1 kB / 0.9539 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004496/0.6434, allocations: 409.2 kB / 0.9543 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.6435, allocations: 40.17 kB / 0.9543 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.6437, allocations: 151.2 kB / 0.9545 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.6439, allocations: 166.5 kB / 0.9546 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.742e-05/0.644, allocations: 32.38 kB / 0.9546 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.6444, allocations: 243.7 kB / 0.9549 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.6445, allocations: 124.1 kB / 0.955 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.6447, allocations: 164.8 kB / 0.9552 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005725/0.6453, allocations: 0.5992 MB / 0.9557 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.6453, allocations: 0 / 0.9557 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6453, allocations: 0 / 0.9557 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.6453, allocations: 0 / 0.9557 GB, free: 4.148 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001076/0.6464, allocations: 0.7116 MB / 0.9564 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.6465, allocations: 9.312 kB / 0.9564 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/0.6483, allocations: 161 kB / 0.9566 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.6487, allocations: 381.8 kB / 0.957 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.339e-05/0.6488, allocations: 72.14 kB / 0.957 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.6489, allocations: 12.03 kB / 0.957 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009923/0.6499, allocations: 432.3 kB / 0.9575 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.6499, allocations: 1.375 kB / 0.9575 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.65, allocations: 4 kB / 0.9575 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.65, allocations: 6.797 kB / 0.9575 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.6515, allocations: 0.5841 MB / 0.958 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.6532, allocations: 1.04 MB / 0.9591 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00497/0.6582, allocations: 0.8486 MB / 0.9599 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007226/0.6589, allocations: 308.9 kB / 0.9602 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.6589, allocations: 5.438 kB / 0.9602 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009695/0.6599, allocations: 446.3 kB / 0.9606 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.925e-06/0.6599, allocations: 1.281 kB / 0.9606 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.00244/0.6624, allocations: 0.9132 MB / 0.9615 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.6624, allocations: 58.59 kB / 0.9616 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004725/0.6629, allocations: 435.6 kB / 0.962 GB, free: 292 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.663, allocations: 37.48 kB / 0.962 GB, free: 252 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.6631, allocations: 173.2 kB / 0.9622 GB, free: 92 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.487e-05/0.6631, allocations: 55.03 kB / 0.9622 GB, free: 44 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.6633, allocations: 55.33 kB / 0.9623 GB, free: 4 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.6635, allocations: 341.3 kB / 0.9626 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009223/0.6644, allocations: 385 kB / 0.963 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008886/0.6653, allocations: 373.1 kB / 0.9633 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.6668, allocations: 0.5953 MB / 0.9639 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.6669, allocations: 1 kB / 0.9639 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00203/0.6689, allocations: 0.9135 MB / 0.9648 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.856e-05/0.669, allocations: 40.47 kB / 0.9648 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.669, allocations: 3.938 kB / 0.9648 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.669, allocations: 1.438 kB / 0.9648 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.6695, allocations: 66.17 kB / 0.9649 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.6695, allocations: 5.406 kB / 0.9649 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.6699, allocations: 41.89 kB / 0.965 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.67, allocations: 15.62 kB / 0.965 GB, free: 14.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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.0002971/0.6703, allocations: 194.3 kB / 0.9652 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.6704, allocations: 35.42 kB / 0.9652 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.542e-05/0.6705, allocations: 41.12 kB / 0.9652 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.6705, allocations: 2.594 kB / 0.9652 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.6705, allocations: 3.938 kB / 0.9652 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6705, allocations: 0 / 0.9652 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005854/0.6711, allocations: 0.5403 MB / 0.9658 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6711, allocations: 0 / 0.9658 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004646/0.6716, allocations: 71.7 kB / 0.9658 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.6716, allocations: 0 / 0.9658 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.6716, allocations: 7.797 kB / 0.9658 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.6716, allocations: 0 / 0.9658 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.6716, allocations: 7.922 kB / 0.9658 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.6734, allocations: 0.6634 MB / 0.9665 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.6736, allocations: 173.2 kB / 0.9667 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.6737, allocations: 4.188 kB / 0.9667 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/0.6742, allocations: 48.31 kB / 0.9667 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/0.6743, allocations: 22.81 kB / 0.9667 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/0.6743, allocations: 10.48 kB / 0.9667 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004349/0.6748, allocations: 321.4 kB / 0.967 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6748, allocations: 0 / 0.967 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004744/0.6753, allocations: 84.09 kB / 0.9671 GB, free: 13.06 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005087/0.6758, allocations: 155.3 kB / 0.9673 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002034/0.6778, allocations: 0.7734 MB / 0.968 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6778, allocations: 5.094 kB / 0.968 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008164/0.6787, allocations: 334.4 kB / 0.9683 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.6792, allocations: 75.61 kB / 0.9684 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.6811, allocations: 0.8816 MB / 0.9693 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.6816, allocations: 0.8148 MB / 0.9701 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004842/0.6821, allocations: 99.08 kB / 0.9702 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.6822, allocations: 37.19 kB / 0.9702 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of SimCode: time 9.62e-07/0.6822, allocations: 0 / 0.9702 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of Templates: time 0.01416/0.6964, allocations: 6.977 MB / 0.977 GB, free: 5.191 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches