Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00236/0.00236, allocations: 80.38 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002219/0.002219, allocations: 166.5 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.587/1.587, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.186/3.186, allocations: 389 MB / 0.633 GB, free: 0.957 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 1 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.477e-05/3.645e-05, allocations: 6.281 kB / 1 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004894/0.00493, allocations: 2.703 MB / 1.003 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003636/0.008566, allocations: 2.075 MB / 1.005 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.008688, allocations: 0 / 1.005 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008754/0.009563, allocations: 242.5 kB / 1.005 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.009743, allocations: 83.22 kB / 1.005 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.01115, allocations: 0.4918 MB / 1.006 GB, free: 1.629 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007871/0.01194, allocations: 0.5257 MB / 1.006 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.01212, allocations: 32.84 kB / 1.006 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/0.01253, allocations: 267.5 kB / 1.006 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003909/0.01292, allocations: 183.6 kB / 1.007 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.985e-05/0.01302, allocations: 36 kB / 1.007 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000607/0.01363, allocations: 263.6 kB / 1.007 GB, free: 344 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002555/0.01388, allocations: 167.5 kB / 1.007 GB, free: 176 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002347/0.01412, allocations: 143.6 kB / 1.007 GB, free: 32 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.01533, allocations: 0.8064 MB / 1.008 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/0.01534, allocations: 0 / 1.008 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.342e-06/0.01535, allocations: 0 / 1.008 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.704e-05/0.01536, allocations: 0 / 1.008 GB, free: 15.22 MB / 0.9669 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.001751/0.01711, allocations: 0.7721 MB / 1.009 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.484e-05/0.01718, allocations: 15.97 kB / 1.009 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002611/0.01979, allocations: 268.4 kB / 1.009 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006655/0.02045, allocations: 371.8 kB / 1.009 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.02064, allocations: 139.3 kB / 1.009 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-05/0.02071, allocations: 12.38 kB / 1.009 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.02215, allocations: 0.5368 MB / 1.01 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.02217, allocations: 4.188 kB / 1.01 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.148e-05/0.02222, allocations: 12.11 kB / 1.01 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.02223, allocations: 4 kB / 1.01 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.02455, allocations: 0.8078 MB / 1.011 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/0.02724, allocations: 1.14 MB / 1.012 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00562/0.03286, allocations: 1.037 MB / 1.013 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.03399, allocations: 404.6 kB / 1.013 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.03403, allocations: 4 kB / 1.013 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00146/0.03549, allocations: 0.5383 MB / 1.014 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 3.075e-06/0.03549, allocations: 0 / 1.014 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.003741/0.03923, allocations: 1.237 MB / 1.015 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.0393, allocations: 71.27 kB / 1.015 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007538/0.04006, allocations: 0.5175 MB / 1.016 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.607e-05/0.04013, allocations: 33.7 kB / 1.016 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.04034, allocations: 200.5 kB / 1.016 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.888e-05/0.04043, allocations: 67.42 kB / 1.016 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.04063, allocations: 69.64 kB / 1.016 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.04082, allocations: 362.7 kB / 1.016 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.04204, allocations: 0.4896 MB / 1.017 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.04336, allocations: 0.5721 MB / 1.017 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/0.04562, allocations: 0.7935 MB / 1.018 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.04563, allocations: 4 kB / 1.018 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002851/0.04848, allocations: 1.156 MB / 1.019 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.225e-05/0.04854, allocations: 43.72 kB / 1.019 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.04855, allocations: 4 kB / 1.019 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.04857, allocations: 4 kB / 1.019 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000723/0.04929, allocations: 91.88 kB / 1.019 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.0493, allocations: 8 kB / 1.019 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/0.04993, allocations: 63.77 kB / 1.019 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/0.05, allocations: 15.97 kB / 1.02 GB, free: 3.129 MB / 0.9669 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 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$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.0003721/0.05037, allocations: 222.2 kB / 1.02 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.05048, allocations: 43.72 kB / 1.02 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.608e-05/0.05058, allocations: 55.98 kB / 1.02 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.05058, allocations: 0 / 1.02 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.05059, allocations: 0 / 1.02 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.05059, allocations: 0 / 1.02 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007158/0.05131, allocations: 0.5164 MB / 1.02 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.05131, allocations: 4 kB / 1.02 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007092/0.05202, allocations: 99.81 kB / 1.02 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.05203, allocations: 0 / 1.02 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.05207, allocations: 7.984 kB / 1.02 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.05207, allocations: 0 / 1.02 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.05207, allocations: 0 / 1.02 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.05451, allocations: 0.8883 MB / 1.021 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.05478, allocations: 107.6 kB / 1.021 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.418e-05/0.05486, allocations: 11.98 kB / 1.021 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006528/0.05551, allocations: 63.92 kB / 1.021 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.05562, allocations: 27.89 kB / 1.022 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/0.05567, allocations: 19.98 kB / 1.022 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004978/0.05617, allocations: 395 kB / 1.022 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.05617, allocations: 0 / 1.022 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004511/0.05662, allocations: 95.94 kB / 1.022 GB, free: 0.543 MB / 0.9669 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.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * 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.0003321/0.05695, allocations: 135.1 kB / 1.022 GB, free: 412 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002601/0.05955, allocations: 0.9905 MB / 1.023 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.05955, allocations: 0 / 1.023 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.06074, allocations: 431.6 kB / 1.023 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005159/0.06125, allocations: 97.7 kB / 1.024 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002668/0.06392, allocations: 1.071 MB / 1.025 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.06423, allocations: 257.2 kB / 1.025 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004951/0.06473, allocations: 138.9 kB / 1.025 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.06494, allocations: 56.44 kB / 1.025 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.06494, allocations: 3.938 kB / 1.025 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of Templates: time 0.01793/0.08287, allocations: 9.426 MB / 1.034 GB, free: 4.016 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.669478569179773]