Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001662/0.001662, allocations: 110.2 kB / 18.93 MB, free: 2.945 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.002099/0.002099, allocations: 192.1 kB / 22.23 MB, free: 5.16 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.542/1.542, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 443.5 MB / 0.7322 GB, free: 12.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.89 kB / 1.061 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8144/0.8165, allocations: 160.8 MB / 1.218 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004665/0.8212, allocations: 2.941 MB / 1.221 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003502/0.8247, allocations: 2.239 MB / 1.224 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.8249, allocations: 3.125 kB / 1.224 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008342/0.8257, allocations: 269.4 kB / 1.224 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.8259, allocations: 80.55 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.8272, allocations: 499.9 kB / 1.224 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006408/0.8278, allocations: 0.5114 MB / 1.225 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.8279, allocations: 32.42 kB / 1.225 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.8282, allocations: 209.6 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.8285, allocations: 217.5 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.346e-05/0.8286, allocations: 37.41 kB / 1.225 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005651/0.8291, allocations: 287 kB / 1.226 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.8293, allocations: 164.9 kB / 1.226 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.8296, allocations: 212 kB / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000946/0.8305, allocations: 0.7621 MB / 1.227 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.8305, allocations: 0 / 1.227 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8305, allocations: 0 / 1.227 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.8305, allocations: 3.938 kB / 1.227 GB, free: 13.45 MB / 0.9356 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.001587/0.8321, allocations: 0.8555 MB / 1.228 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.8321, allocations: 8.938 kB / 1.228 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002175/0.8343, allocations: 226.2 kB / 1.228 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007531/0.8351, allocations: 434.1 kB / 1.228 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.8352, allocations: 86.34 kB / 1.228 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.724e-05/0.8353, allocations: 13.22 kB / 1.228 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.8367, allocations: 0.5286 MB / 1.229 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.8367, allocations: 0 / 1.229 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/0.8367, allocations: 9.406 kB / 1.229 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.8367, allocations: 2.781 kB / 1.229 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/0.8388, allocations: 0.7556 MB / 1.23 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.8414, allocations: 1.276 MB / 1.231 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005397/0.8468, allocations: 0.99 MB / 1.232 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.8478, allocations: 394.8 kB / 1.232 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.8478, allocations: 0 / 1.232 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001317/0.8491, allocations: 0.534 MB / 1.233 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.8492, allocations: 0 / 1.233 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.003263/0.8524, allocations: 1.179 MB / 1.234 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.8525, allocations: 59.41 kB / 1.234 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007421/0.8532, allocations: 0.5214 MB / 1.234 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-05/0.8533, allocations: 33.7 kB / 1.234 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.8535, allocations: 200.5 kB / 1.235 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.793e-05/0.8536, allocations: 75.34 kB / 1.235 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.8538, allocations: 61.67 kB / 1.235 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.854, allocations: 358.8 kB / 1.235 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.8551, allocations: 472.5 kB / 1.236 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.8563, allocations: 0.4935 MB / 1.236 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00197/0.8582, allocations: 0.7495 MB / 1.237 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.8582, allocations: 3.938 kB / 1.237 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002543/0.8608, allocations: 1.074 MB / 1.238 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.298e-05/0.8608, allocations: 45.69 kB / 1.238 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.8609, allocations: 4 kB / 1.238 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.8609, allocations: 7.938 kB / 1.238 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006042/0.8615, allocations: 95.81 kB / 1.238 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.8615, allocations: 0 / 1.238 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.8621, allocations: 59.83 kB / 1.238 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/0.8621, allocations: 19.98 kB / 1.238 GB, free: 2.969 MB / 0.9356 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.0004136/0.8625, allocations: 217.6 kB / 1.238 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.8627, allocations: 47.7 kB / 1.238 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.8628, allocations: 55.95 kB / 1.238 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.8628, allocations: 7.984 kB / 1.238 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.8628, allocations: 0 / 1.238 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.8628, allocations: 0 / 1.238 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008154/0.8636, allocations: 0.6337 MB / 1.239 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.8636, allocations: 3.984 kB / 1.239 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005948/0.8642, allocations: 91.89 kB / 1.239 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.8642, allocations: 0 / 1.239 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.8642, allocations: 15.92 kB / 1.239 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.8642, allocations: 4 kB / 1.239 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8642, allocations: 0 / 1.239 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.8663, allocations: 0.8381 MB / 1.24 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/0.8667, allocations: 192.7 kB / 1.24 GB, free: 0.7734 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.8667, allocations: 11.94 kB / 1.24 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005268/0.8673, allocations: 63.92 kB / 1.24 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.8674, allocations: 23.95 kB / 1.24 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.8674, allocations: 11.98 kB / 1.24 GB, free: 0.6641 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005511/0.868, allocations: 391 kB / 1.241 GB, free: 296 kB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.868, allocations: 0 / 1.241 GB, free: 296 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004997/0.8685, allocations: 103.9 kB / 1.241 GB, free: 192 kB / 0.9356 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.0003342/0.8688, allocations: 148.8 kB / 1.241 GB, free: 36 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002395/0.8712, allocations: 0.9245 MB / 1.242 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8712, allocations: 0 / 1.242 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.8723, allocations: 411.6 kB / 1.242 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.8728, allocations: 92.28 kB / 1.242 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.8754, allocations: 1.06 MB / 1.243 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.876, allocations: 0.8619 MB / 1.244 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004545/0.8764, allocations: 126.9 kB / 1.244 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.8766, allocations: 39.41 kB / 1.244 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of SimCode: time 1.142e-06/0.8766, allocations: 4 kB / 1.244 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of Templates: time 0.01697/0.8936, allocations: 8.972 MB / 1.253 GB, free: 3.586 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.35839390847832]