Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002335/0.002335, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.003243/0.003243, allocations: 161.6 kB / 23.55 MB, free: 0.8867 MB / 18.57 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.555/1.555, allocations: 177.2 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.029/3.029, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.286e-06/3.286e-06, allocations: 0 / 0.8108 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.193e-05/5.521e-05, allocations: 6.312 kB / 0.8108 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.006174/0.006229, allocations: 2.706 MB / 0.8135 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004931/0.01116, allocations: 2.095 MB / 0.8155 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002951/0.01146, allocations: 4 kB / 0.8155 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.01255, allocations: 239.2 kB / 0.8158 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003109/0.01286, allocations: 78.84 kB / 0.8158 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.01441, allocations: 493.4 kB / 0.8163 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000905/0.01532, allocations: 0.5185 MB / 0.8168 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.01546, allocations: 30.2 kB / 0.8168 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005657/0.01603, allocations: 267.6 kB / 0.8171 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003842/0.01641, allocations: 183.6 kB / 0.8173 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.01654, allocations: 37.53 kB / 0.8173 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006184/0.01716, allocations: 275.4 kB / 0.8176 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002752/0.01743, allocations: 159.6 kB / 0.8177 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.01772, allocations: 139.6 kB / 0.8179 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.01906, allocations: 0.8082 MB / 0.8186 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.01907, allocations: 4 kB / 0.8186 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.422e-06/0.01907, allocations: 0 / 0.8186 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.01908, allocations: 0 / 0.8186 GB, free: 8.938 MB / 0.7292 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.002082/0.02116, allocations: 0.7707 MB / 0.8194 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.02121, allocations: 8.031 kB / 0.8194 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002407/0.02362, allocations: 257.4 kB / 0.8197 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007729/0.02439, allocations: 371.8 kB / 0.82 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.0246, allocations: 135.3 kB / 0.8201 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/0.02467, allocations: 16.38 kB / 0.8201 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.02646, allocations: 0.5138 MB / 0.8207 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.02647, allocations: 192 / 0.8207 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.02652, allocations: 4.125 kB / 0.8207 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.02653, allocations: 5.125 kB / 0.8207 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/0.02892, allocations: 0.7563 MB / 0.8214 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.03192, allocations: 1.107 MB / 0.8225 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005837/0.03776, allocations: 0.9977 MB / 0.8235 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/0.0389, allocations: 384.6 kB / 0.8238 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.03894, allocations: 0 / 0.8238 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/0.04044, allocations: 0.5123 MB / 0.8243 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=21): time 3.586e-06/0.04045, allocations: 0 / 0.8243 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.003935/0.04438, allocations: 1.19 MB / 0.8255 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.04445, allocations: 59.34 kB / 0.8255 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008744/0.04532, allocations: 0.5135 MB / 0.826 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.583e-05/0.04542, allocations: 33.7 kB / 0.8261 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.04565, allocations: 200.5 kB / 0.8263 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.04576, allocations: 75.36 kB / 0.8263 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.04595, allocations: 73.66 kB / 0.8264 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002436/0.0462, allocations: 354.8 kB / 0.8267 GB, free: 488 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.04748, allocations: 477.4 kB / 0.8272 GB, free: 4 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.04916, allocations: 0.5476 MB / 0.8277 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.05146, allocations: 0.758 MB / 0.8285 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.05146, allocations: 0 / 0.8285 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.003078/0.05454, allocations: 1.123 MB / 0.8296 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.173e-05/0.05461, allocations: 41.7 kB / 0.8296 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.05463, allocations: 3.984 kB / 0.8296 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.05465, allocations: 0 / 0.8296 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/0.05533, allocations: 87.89 kB / 0.8297 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.05534, allocations: 0 / 0.8297 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006143/0.05595, allocations: 67.83 kB / 0.8298 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.489e-05/0.05603, allocations: 15.98 kB / 0.8298 GB, free: 13.31 MB / 0.7448 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.0003962/0.05642, allocations: 224.1 kB / 0.83 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.05658, allocations: 47.72 kB / 0.83 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.0567, allocations: 52.02 kB / 0.8301 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.0567, allocations: 4 kB / 0.8301 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.05671, allocations: 0 / 0.8301 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.05672, allocations: 3.984 kB / 0.8301 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007928/0.05751, allocations: 0.5007 MB / 0.8306 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.05751, allocations: 4 kB / 0.8306 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006686/0.05818, allocations: 87.83 kB / 0.8307 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.05819, allocations: 0 / 0.8307 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/0.05823, allocations: 11.98 kB / 0.8307 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.05823, allocations: 4 kB / 0.8307 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.05824, allocations: 0 / 0.8307 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/0.06087, allocations: 0.842 MB / 0.8315 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003273/0.06119, allocations: 119.6 kB / 0.8316 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.364e-05/0.06128, allocations: 4 kB / 0.8316 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006363/0.06191, allocations: 67.91 kB / 0.8317 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.06203, allocations: 19.97 kB / 0.8317 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.903e-05/0.06208, allocations: 19.92 kB / 0.8317 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006102/0.06269, allocations: 395 kB / 0.8321 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.06269, allocations: 0 / 0.8321 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000552/0.06325, allocations: 99.94 kB / 0.8322 GB, free: 10.77 MB / 0.7448 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.0004074/0.06365, allocations: 135.1 kB / 0.8323 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002782/0.06644, allocations: 0.9496 MB / 0.8333 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.06644, allocations: 0 / 0.8333 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.06763, allocations: 411.6 kB / 0.8337 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005948/0.06822, allocations: 120.2 kB / 0.8338 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.07156, allocations: 1.057 MB / 0.8348 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.07191, allocations: 241 kB / 0.835 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005469/0.07246, allocations: 134.9 kB / 0.8352 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.07268, allocations: 48.41 kB / 0.8352 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of SimCode: time 1.112e-06/0.07268, allocations: 0 / 0.8352 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of Templates: time 0.02028/0.09296, allocations: 9.344 MB / 0.8443 GB, free: 14.43 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.612683817977086]