Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002165/0.002165, allocations: 113.9 kB / 18.94 MB, free: 2.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002561/0.002561, allocations: 192.2 kB / 22.23 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.081/3.081, allocations: 476.7 MB / 0.7646 GB, free: 9.867 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 63.89 kB / 1.11 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.259/1.261, allocations: 168.8 MB / 1.274 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005387/1.266, allocations: 2.934 MB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003989/1.27, allocations: 2.223 MB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/1.271, allocations: 4 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009553/1.272, allocations: 274.3 kB / 1.28 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002028/1.272, allocations: 71.23 kB / 1.28 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001446/1.273, allocations: 498.6 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00077/1.274, allocations: 0.5142 MB / 1.281 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/1.274, allocations: 36.86 kB / 1.281 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/1.274, allocations: 203.5 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003489/1.275, allocations: 223.2 kB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.441e-05/1.275, allocations: 36 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005318/1.275, allocations: 291.6 kB / 1.281 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002129/1.276, allocations: 163.5 kB / 1.282 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002449/1.276, allocations: 210.9 kB / 1.282 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009362/1.277, allocations: 0.7539 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/1.277, allocations: 3.938 kB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/1.277, allocations: 0 / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.997e-06/1.277, allocations: 3.938 kB / 1.283 GB, free: 11.78 MB / 0.9825 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.001613/1.278, allocations: 0.776 MB / 1.283 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.927e-05/1.278, allocations: 11.98 kB / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/1.281, allocations: 236.4 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006267/1.281, allocations: 372.6 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/1.281, allocations: 79.89 kB / 1.284 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/1.281, allocations: 16.36 kB / 1.284 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/1.283, allocations: 0.5426 MB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/1.283, allocations: 0 / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/1.283, allocations: 4 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/1.283, allocations: 4 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00198/1.285, allocations: 0.7533 MB / 1.285 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/1.287, allocations: 1.26 MB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005225/1.293, allocations: 0.9925 MB / 1.287 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009844/1.294, allocations: 388.6 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/1.294, allocations: 4 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001299/1.295, allocations: 0.5301 MB / 1.288 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 2.896e-06/1.295, allocations: 0 / 1.288 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.003309/1.298, allocations: 1.179 MB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/1.298, allocations: 59.41 kB / 1.29 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008613/1.299, allocations: 0.5213 MB / 1.29 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.86e-05/1.299, allocations: 33.7 kB / 1.29 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/1.3, allocations: 196.5 kB / 1.29 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/1.3, allocations: 75.36 kB / 1.29 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/1.3, allocations: 69.66 kB / 1.29 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002524/1.3, allocations: 354.8 kB / 1.291 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/1.301, allocations: 464.5 kB / 1.291 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/1.302, allocations: 0.505 MB / 1.292 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001989/1.304, allocations: 0.7511 MB / 1.292 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/1.304, allocations: 0 / 1.292 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002733/1.307, allocations: 1.077 MB / 1.294 GB, free: 340 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.814e-05/1.307, allocations: 41.69 kB / 1.294 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.307, allocations: 0 / 1.294 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/1.307, allocations: 3.938 kB / 1.294 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/1.308, allocations: 95.83 kB / 1.294 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/1.308, allocations: 0 / 1.294 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/1.309, allocations: 71.81 kB / 1.294 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/1.309, allocations: 11.98 kB / 1.294 GB, free: 108 kB / 0.9825 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 (22): * Single equations (assignments): 21 * 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.000506/1.309, allocations: 209.8 kB / 1.294 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/1.309, allocations: 43.72 kB / 1.294 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/1.31, allocations: 59.94 kB / 1.294 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/1.31, allocations: 3.938 kB / 1.294 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/1.31, allocations: 0 / 1.294 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.31, allocations: 4 kB / 1.294 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009506/1.311, allocations: 0.6247 MB / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/1.311, allocations: 0 / 1.295 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006133/1.311, allocations: 87.89 kB / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/1.311, allocations: 3.938 kB / 1.295 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/1.311, allocations: 15.92 kB / 1.295 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/1.311, allocations: 3.984 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.311, allocations: 4 kB / 1.295 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/1.313, allocations: 0.8383 MB / 1.296 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003424/1.314, allocations: 107.6 kB / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/1.314, allocations: 15.92 kB / 1.296 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005567/1.314, allocations: 63.92 kB / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.315, allocations: 23.95 kB / 1.296 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/1.315, allocations: 15.98 kB / 1.296 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006045/1.315, allocations: 387.1 kB / 1.296 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.315, allocations: 4 kB / 1.296 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005587/1.316, allocations: 103.9 kB / 1.296 GB, free: 13.44 MB / 0.9981 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 (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.0003711/1.316, allocations: 143 kB / 1.296 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002415/1.319, allocations: 0.9283 MB / 1.297 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.319, allocations: 0 / 1.297 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/1.32, allocations: 403.6 kB / 1.298 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000536/1.32, allocations: 98.83 kB / 1.298 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002749/1.323, allocations: 1.064 MB / 1.299 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/1.324, allocations: 0.8579 MB / 1.3 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004959/1.324, allocations: 134.9 kB / 1.3 GB, free: 9.746 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/1.324, allocations: 43.41 kB / 1.3 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/1.324, allocations: 0 / 1.3 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of Templates: time 0.01952/1.344, allocations: 8.967 MB / 1.309 GB, free: 0.832 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.640318972989917]