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.001737/0.001737, allocations: 108.1 kB / 16.45 MB, free: 6.453 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.002174/0.002174, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.631/1.631, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.346/3.346, allocations: 0.4899 GB / 0.7915 GB, free: 33.37 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.002024/0.002024, allocations: 73.72 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3736, allocations: 176.1 MB / 1.321 GB, free: 2.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004688/0.3783, allocations: 2.918 MB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003528/0.3818, allocations: 2.262 MB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.3819, allocations: 4 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007888/0.3827, allocations: 270.6 kB / 1.327 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.3829, allocations: 79.22 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.384, allocations: 489 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006077/0.3846, allocations: 0.5063 MB / 1.328 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3848, allocations: 40.72 kB / 1.328 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.385, allocations: 211.4 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.3853, allocations: 207.3 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.134e-05/0.3854, allocations: 43.94 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.3858, allocations: 251.7 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.386, allocations: 163.5 kB / 1.329 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.3862, allocations: 218.9 kB / 1.329 GB, free: 11.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008614/0.3871, allocations: 0.759 MB / 1.329 GB, free: 10.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3871, allocations: 4 kB / 1.329 GB, free: 10.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3871, allocations: 0 / 1.329 GB, free: 10.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.3871, allocations: 0 / 1.329 GB, free: 10.41 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.001465/0.3886, allocations: 0.8474 MB / 1.33 GB, free: 9.496 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.3886, allocations: 12.03 kB / 1.33 GB, free: 9.484 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002234/0.3908, allocations: 232.4 kB / 1.331 GB, free: 9.258 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006188/0.3914, allocations: 426.4 kB / 1.331 GB, free: 8.805 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.3916, allocations: 79.89 kB / 1.331 GB, free: 8.715 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.827e-05/0.3917, allocations: 20.38 kB / 1.331 GB, free: 8.695 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.3931, allocations: 0.5331 MB / 1.332 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3931, allocations: 0 / 1.332 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/0.3931, allocations: 4 kB / 1.332 GB, free: 8.152 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3931, allocations: 7.938 kB / 1.332 GB, free: 8.145 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.3953, allocations: 0.76 MB / 1.332 GB, free: 7.387 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/0.3978, allocations: 1.265 MB / 1.334 GB, free: 6.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005687/0.4035, allocations: 1.002 MB / 1.335 GB, free: 5.059 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.4046, allocations: 388.6 kB / 1.335 GB, free: 4.676 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.4046, allocations: 7.984 kB / 1.335 GB, free: 4.668 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001399/0.406, allocations: 0.534 MB / 1.335 GB, free: 4.121 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 2.635e-06/0.406, allocations: 0 / 1.335 GB, free: 4.121 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.003626/0.4096, allocations: 1.175 MB / 1.337 GB, free: 2.941 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.4097, allocations: 59.39 kB / 1.337 GB, free: 2.871 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00074/0.4104, allocations: 0.5135 MB / 1.337 GB, free: 2.348 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.889e-05/0.4105, allocations: 33.7 kB / 1.337 GB, free: 2.309 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.4107, allocations: 200.5 kB / 1.337 GB, free: 2.109 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.966e-05/0.4108, allocations: 75.42 kB / 1.337 GB, free: 2.035 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.411, allocations: 69.66 kB / 1.337 GB, free: 1.961 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.4112, allocations: 358.8 kB / 1.338 GB, free: 1.602 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.4124, allocations: 468.4 kB / 1.338 GB, free: 1.141 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.4136, allocations: 0.5011 MB / 1.339 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002122/0.4157, allocations: 0.7538 MB / 1.339 GB, free: 15.87 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/0.4157, allocations: 4 kB / 1.34 GB, free: 15.87 MB / 1.045 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002666/0.4184, allocations: 1.07 MB / 1.341 GB, free: 14.79 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.397e-05/0.4184, allocations: 41.69 kB / 1.341 GB, free: 14.74 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4184, allocations: 0 / 1.341 GB, free: 14.74 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.4185, allocations: 7.938 kB / 1.341 GB, free: 14.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.4191, allocations: 87.83 kB / 1.341 GB, free: 14.64 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.4191, allocations: 11.92 kB / 1.341 GB, free: 14.63 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/0.4197, allocations: 63.83 kB / 1.341 GB, free: 14.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/0.4197, allocations: 15.98 kB / 1.341 GB, free: 14.55 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.0003508/0.4201, allocations: 216.9 kB / 1.341 GB, free: 14.34 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-05/0.4202, allocations: 43.72 kB / 1.341 GB, free: 14.29 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.4203, allocations: 59.84 kB / 1.341 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4203, allocations: 4 kB / 1.341 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4203, allocations: 0 / 1.341 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.4203, allocations: 0 / 1.341 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007988/0.4211, allocations: 0.649 MB / 1.342 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4211, allocations: 0 / 1.342 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/0.4217, allocations: 95.88 kB / 1.342 GB, free: 13.44 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4217, allocations: 0 / 1.342 GB, free: 13.44 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.4218, allocations: 15.92 kB / 1.342 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.4218, allocations: 3.984 kB / 1.342 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4218, allocations: 0 / 1.342 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.4242, allocations: 0.8361 MB / 1.343 GB, free: 12.56 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.4245, allocations: 184.7 kB / 1.343 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.239e-05/0.4246, allocations: 15.88 kB / 1.343 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005846/0.4252, allocations: 63.92 kB / 1.343 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.4253, allocations: 23.95 kB / 1.343 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.4253, allocations: 19.98 kB / 1.343 GB, free: 12.24 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004925/0.4258, allocations: 387.1 kB / 1.343 GB, free: 11.86 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4258, allocations: 0 / 1.343 GB, free: 11.86 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004591/0.4263, allocations: 99.94 kB / 1.343 GB, free: 11.77 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.0003291/0.4266, allocations: 139.1 kB / 1.344 GB, free: 11.62 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002531/0.4291, allocations: 0.9206 MB / 1.344 GB, free: 10.69 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4291, allocations: 0 / 1.344 GB, free: 10.69 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.4303, allocations: 417.5 kB / 1.345 GB, free: 10.28 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.4307, allocations: 93.83 kB / 1.345 GB, free: 10.19 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.4334, allocations: 1.056 MB / 1.346 GB, free: 9.102 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/0.434, allocations: 0.8542 MB / 1.347 GB, free: 8.223 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004483/0.4344, allocations: 134.9 kB / 1.347 GB, free: 8.09 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.4347, allocations: 39.41 kB / 1.347 GB, free: 8.051 MB / 1.045 GB Notification: Performance of SimCode: time 1.092e-06/0.4347, allocations: 0 / 1.347 GB, free: 8.051 MB / 1.045 GB Notification: Performance of Templates: time 0.01767/0.4524, allocations: 8.863 MB / 1.356 GB, free: 15.28 MB / 1.061 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: 9.735849658027291]