Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.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.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,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.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,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.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008313/0.0008314, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009769/0.000977, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.418 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.455/2.455, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003841, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6757/0.6761, allocations: 142.4 MB / 0.9545 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002944/0.6791, allocations: 2.455 MB / 0.9569 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002725/0.6818, allocations: 2.081 MB / 0.9589 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.6821, allocations: 5.438 kB / 0.9589 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006961/0.6828, allocations: 227.5 kB / 0.9591 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.6829, allocations: 65.61 kB / 0.9592 GB, free: 3.973 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009516/0.6839, allocations: 425 kB / 0.9596 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.6843, allocations: 433.1 kB / 0.96 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.6844, allocations: 49.44 kB / 0.96 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.6846, allocations: 186.8 kB / 0.9602 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.6848, allocations: 189.9 kB / 0.9604 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.6e-05/0.6849, allocations: 23.84 kB / 0.9604 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003481/0.6852, allocations: 224.7 kB / 0.9606 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.6854, allocations: 149 kB / 0.9608 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.272e-05/0.6854, allocations: 87.77 kB / 0.9609 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004702/0.6859, allocations: 0.5717 MB / 0.9614 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6859, allocations: 4.875 kB / 0.9614 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6859, allocations: 0 / 0.9614 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.686, allocations: 0 / 0.9614 GB, free: 2.531 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001067/0.687, allocations: 0.7827 MB / 0.9622 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.6871, allocations: 9.062 kB / 0.9622 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/0.689, allocations: 245 kB / 0.9624 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.6894, allocations: 410.2 kB / 0.9628 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.77e-05/0.6895, allocations: 80.97 kB / 0.9629 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.6896, allocations: 12.41 kB / 0.9629 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.6908, allocations: 0.5563 MB / 0.9634 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.6908, allocations: 9 kB / 0.9635 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.6908, allocations: 9.109 kB / 0.9635 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.6908, allocations: 6.578 kB / 0.9635 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.6926, allocations: 0.81 MB / 0.9643 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.6947, allocations: 1.283 MB / 0.9655 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004936/0.6996, allocations: 1.09 MB / 0.9666 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009578/0.7006, allocations: 428.4 kB / 0.967 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.7006, allocations: 6.875 kB / 0.967 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/0.7018, allocations: 0.5531 MB / 0.9675 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 3.356e-06/0.7018, allocations: 5.172 kB / 0.9675 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.003119/0.7049, allocations: 1.264 MB / 0.9688 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.705, allocations: 58.67 kB / 0.9688 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006392/0.7057, allocations: 0.5172 MB / 0.9693 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.7057, allocations: 34.55 kB / 0.9694 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.7059, allocations: 199 kB / 0.9696 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.809e-05/0.706, allocations: 63.77 kB / 0.9696 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.706, allocations: 1.969 kB / 0.9696 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.7062, allocations: 364.9 kB / 0.97 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.7073, allocations: 494.4 kB / 0.9704 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.7083, allocations: 0.5162 MB / 0.9709 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009894/0.7093, allocations: 464.9 kB / 0.9714 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7094, allocations: 0.8438 kB / 0.9714 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002345/0.7117, allocations: 1.147 MB / 0.9725 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.421e-05/0.7118, allocations: 39.38 kB / 0.9725 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.7118, allocations: 1.031 kB / 0.9725 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.7118, allocations: 5.484 kB / 0.9726 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005912/0.7124, allocations: 111.6 kB / 0.9727 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.7124, allocations: 0.8125 kB / 0.9727 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/0.713, allocations: 80.16 kB / 0.9727 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/0.713, allocations: 13.98 kB / 0.9728 GB, free: 11.98 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 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003268/0.7133, allocations: 211.4 kB / 0.973 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/0.7134, allocations: 43.61 kB / 0.973 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.538e-05/0.7135, allocations: 53.67 kB / 0.973 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.7136, allocations: 10.42 kB / 0.9731 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.7136, allocations: 4 kB / 0.9731 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.7136, allocations: 1.25 kB / 0.9731 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007502/0.7143, allocations: 0.6426 MB / 0.9737 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.7143, allocations: 5.359 kB / 0.9737 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/0.7149, allocations: 102.5 kB / 0.9738 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.7149, allocations: 1.438 kB / 0.9738 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.715, allocations: 15.97 kB / 0.9738 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.715, allocations: 1.312 kB / 0.9738 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.715, allocations: 0 / 0.9738 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.717, allocations: 0.8905 MB / 0.9747 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.7173, allocations: 184.5 kB / 0.9749 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.7173, allocations: 4 kB / 0.9749 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005375/0.7179, allocations: 87.88 kB / 0.9749 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.603e-05/0.718, allocations: 27.95 kB / 0.975 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.718, allocations: 19.92 kB / 0.975 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005038/0.7185, allocations: 387 kB / 0.9754 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7186, allocations: 0 / 0.9754 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004776/0.719, allocations: 103.9 kB / 0.9755 GB, free: 9.648 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 (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004144/0.7195, allocations: 151.1 kB / 0.9756 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002237/0.7217, allocations: 0.987 MB / 0.9766 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7217, allocations: 4 kB / 0.9766 GB, free: 8.496 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.7228, allocations: 453.1 kB / 0.977 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005521/0.7233, allocations: 103.5 kB / 0.9771 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.726, allocations: 1.132 MB / 0.9782 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.7265, allocations: 0.8622 MB / 0.979 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005892/0.7271, allocations: 122.9 kB / 0.9792 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.7273, allocations: 39.41 kB / 0.9792 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of SimCode: time 8.01e-07/0.7273, allocations: 4 kB / 0.9792 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of Templates: time 0.01659/0.7439, allocations: 7.946 MB / 0.987 GB, free: 13.91 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches