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.00202/0.00202, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002975/0.002975, allocations: 210.6 kB / 22.99 MB, free: 4.957 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.393/3.393, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002718/0.002718, allocations: 70.69 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4769/0.4796, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005033/0.4847, allocations: 2.697 MB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003684/0.4884, allocations: 2.076 MB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.4885, allocations: 4 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008073/0.4893, allocations: 234.6 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.4895, allocations: 71.3 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.4908, allocations: 0.4898 MB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006436/0.4914, allocations: 0.5154 MB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.4916, allocations: 32.86 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.4918, allocations: 211.4 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003182/0.4921, allocations: 211.3 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.524e-05/0.4922, allocations: 40 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005121/0.4927, allocations: 283.6 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002008/0.4929, allocations: 163.5 kB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.4931, allocations: 171.2 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009151/0.494, allocations: 0.7552 MB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.494, allocations: 0 / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.224e-06/0.494, allocations: 0 / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.4941, allocations: 3.938 kB / 1.335 GB, free: 8.984 MB / 1.029 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.001645/0.4957, allocations: 0.7838 MB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.4957, allocations: 12.03 kB / 1.336 GB, free: 8.145 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/0.498, allocations: 228.4 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006644/0.4987, allocations: 376.5 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.4988, allocations: 139.3 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.4989, allocations: 16.38 kB / 1.336 GB, free: 7.355 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.5003, allocations: 0.5352 MB / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.5003, allocations: 0 / 1.337 GB, free: 6.816 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.5004, allocations: 4 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.5004, allocations: 4 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.5025, allocations: 0.7533 MB / 1.338 GB, free: 6.055 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.5049, allocations: 1.12 MB / 1.339 GB, free: 4.902 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00591/0.5108, allocations: 1.007 MB / 1.34 GB, free: 3.887 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.5118, allocations: 380.6 kB / 1.34 GB, free: 3.512 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.5118, allocations: 4 kB / 1.34 GB, free: 3.508 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/0.5132, allocations: 0.5312 MB / 1.341 GB, free: 2.965 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.585e-06/0.5132, allocations: 0 / 1.341 GB, free: 2.965 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.003436/0.5167, allocations: 1.182 MB / 1.342 GB, free: 1.777 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.5167, allocations: 63.39 kB / 1.342 GB, free: 1.703 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000744/0.5175, allocations: 0.5175 MB / 1.342 GB, free: 1.176 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.014e-05/0.5175, allocations: 33.7 kB / 1.342 GB, free: 1.137 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.5177, allocations: 204.4 kB / 1.343 GB, free: 0.9336 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.5178, allocations: 63.44 kB / 1.343 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.518, allocations: 69.66 kB / 1.343 GB, free: 0.7969 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.5182, allocations: 354.8 kB / 1.343 GB, free: 452 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.5193, allocations: 0.4904 MB / 1.343 GB, free: 15.94 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.5205, allocations: 0.5631 MB / 1.344 GB, free: 15.36 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.5226, allocations: 0.758 MB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5226, allocations: 0 / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00257/0.5251, allocations: 1.108 MB / 1.346 GB, free: 13.47 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.695e-05/0.5252, allocations: 49.62 kB / 1.346 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5252, allocations: 0 / 1.346 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.5252, allocations: 0 / 1.346 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.5259, allocations: 91.83 kB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.5259, allocations: 0 / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005714/0.5265, allocations: 71.75 kB / 1.346 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/0.5265, allocations: 23.98 kB / 1.346 GB, free: 13.23 MB / 1.045 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.0003802/0.5269, allocations: 215.9 kB / 1.346 GB, free: 13.01 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.965e-05/0.527, allocations: 43.72 kB / 1.346 GB, free: 12.97 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.772e-05/0.5271, allocations: 52 kB / 1.346 GB, free: 12.92 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.5271, allocations: 11.94 kB / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5271, allocations: 0 / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5271, allocations: 3.938 kB / 1.346 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007254/0.5279, allocations: 0.5085 MB / 1.347 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5279, allocations: 4 kB / 1.347 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000634/0.5285, allocations: 87.89 kB / 1.347 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.5285, allocations: 4 kB / 1.347 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.5285, allocations: 3.984 kB / 1.347 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.5285, allocations: 7.938 kB / 1.347 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.5285, allocations: 3.938 kB / 1.347 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.5308, allocations: 0.8417 MB / 1.348 GB, free: 11.39 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.5311, allocations: 111.6 kB / 1.348 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-05/0.5311, allocations: 8 kB / 1.348 GB, free: 11.28 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005593/0.5317, allocations: 63.92 kB / 1.348 GB, free: 11.21 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.5318, allocations: 27.89 kB / 1.348 GB, free: 11.19 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.5319, allocations: 11.98 kB / 1.348 GB, free: 11.18 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005058/0.5324, allocations: 391 kB / 1.348 GB, free: 10.8 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.5324, allocations: 0 / 1.348 GB, free: 10.8 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004856/0.5329, allocations: 99.94 kB / 1.348 GB, free: 10.7 MB / 1.045 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.0003163/0.5332, allocations: 143 kB / 1.349 GB, free: 10.55 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00237/0.5355, allocations: 0.9651 MB / 1.35 GB, free: 9.566 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5356, allocations: 0 / 1.35 GB, free: 9.566 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.5366, allocations: 412.6 kB / 1.35 GB, free: 9.164 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.5371, allocations: 81.86 kB / 1.35 GB, free: 9.086 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.5397, allocations: 1.067 MB / 1.351 GB, free: 7.992 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.54, allocations: 248.9 kB / 1.351 GB, free: 7.719 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004678/0.5404, allocations: 130.9 kB / 1.351 GB, free: 7.594 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.5406, allocations: 43.41 kB / 1.351 GB, free: 7.551 MB / 1.045 GB Notification: Performance of SimCode: time 8.31e-07/0.5406, allocations: 0 / 1.351 GB, free: 7.551 MB / 1.045 GB Notification: Performance of Templates: time 0.01792/0.5586, allocations: 9.866 MB / 1.361 GB, free: 13.8 MB / 1.061 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/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: 10.312531096002203]