Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001377/0.001377, allocations: 106.8 kB / 17.54 MB, free: 4.746 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.001407/0.001407, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.227 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.459/2.459, allocations: 476.7 MB / 0.7628 GB, free: 15.33 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 75.88 kB / 1.107 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7731/0.7749, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003316/0.7782, allocations: 2.926 MB / 1.274 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002374/0.7806, allocations: 2.239 MB / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.7807, allocations: 2.906 kB / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006339/0.7813, allocations: 261.5 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.7814, allocations: 82.67 kB / 1.277 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009366/0.7824, allocations: 492.6 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004734/0.7828, allocations: 0.5076 MB / 1.278 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.228e-05/0.7829, allocations: 30.03 kB / 1.278 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.7831, allocations: 205.1 kB / 1.278 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.7833, allocations: 213.6 kB / 1.278 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.41e-05/0.7834, allocations: 36.25 kB / 1.278 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.7838, allocations: 266.9 kB / 1.278 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.784, allocations: 158.5 kB / 1.279 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.7841, allocations: 221.6 kB / 1.279 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007665/0.7849, allocations: 0.7497 MB / 1.28 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7849, allocations: 5.734 kB / 1.28 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7849, allocations: 0 / 1.28 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.7849, allocations: 0 / 1.28 GB, free: 2.77 MB / 0.9981 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.00119/0.7861, allocations: 0.8462 MB / 1.28 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.7861, allocations: 8.75 kB / 1.28 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.879e-05/0.7862, allocations: 51.53 kB / 1.28 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.7882, allocations: 235.1 kB / 1.281 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.7887, allocations: 428.3 kB / 1.281 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.746e-05/0.7888, allocations: 81.67 kB / 1.281 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.7888, allocations: 13.44 kB / 1.281 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.79, allocations: 0.5378 MB / 1.282 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.7901, allocations: 7.922 kB / 1.282 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.7901, allocations: 4 kB / 1.282 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.7901, allocations: 3.656 kB / 1.282 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.792, allocations: 0.7577 MB / 1.282 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.7939, allocations: 1.272 MB / 1.284 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00492/0.7988, allocations: 1 MB / 1.285 GB, free: 436 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009002/0.7997, allocations: 387.8 kB / 1.285 GB, free: 324 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.7998, allocations: 5.734 kB / 1.285 GB, free: 320 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/0.8009, allocations: 0.531 MB / 1.286 GB, free: 144 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.994e-06/0.8009, allocations: 1.094 kB / 1.286 GB, free: 144 kB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.003136/0.804, allocations: 1.18 MB / 1.287 GB, free: 15.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.8041, allocations: 63.83 kB / 1.287 GB, free: 15.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006052/0.8047, allocations: 0.5216 MB / 1.287 GB, free: 15.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.59e-05/0.8048, allocations: 34.94 kB / 1.287 GB, free: 15.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.8049, allocations: 198.2 kB / 1.288 GB, free: 15.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.805, allocations: 71.66 kB / 1.288 GB, free: 15.24 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.8052, allocations: 64.2 kB / 1.288 GB, free: 15.21 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.8053, allocations: 358.2 kB / 1.288 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.8064, allocations: 466.2 kB / 1.288 GB, free: 14.76 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.8075, allocations: 0.4972 MB / 1.289 GB, free: 14.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.8094, allocations: 0.7561 MB / 1.29 GB, free: 14.38 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8094, allocations: 7.781 kB / 1.29 GB, free: 14.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002379/0.8118, allocations: 1.066 MB / 1.291 GB, free: 14.05 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.8119, allocations: 46.16 kB / 1.291 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.8119, allocations: 7.219 kB / 1.291 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.8119, allocations: 0 / 1.291 GB, free: 14.01 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/0.8125, allocations: 93.44 kB / 1.291 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.8125, allocations: 3.062 kB / 1.291 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005152/0.813, allocations: 57.09 kB / 1.291 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.813, allocations: 22.11 kB / 1.291 GB, free: 13.98 MB / 1.014 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.0003083/0.8133, allocations: 209.4 kB / 1.291 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.902e-05/0.8134, allocations: 48.06 kB / 1.291 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.557e-05/0.8135, allocations: 56.44 kB / 1.291 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.8135, allocations: 3.281 kB / 1.291 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.8135, allocations: 0 / 1.291 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.8135, allocations: 1.5 kB / 1.291 GB, free: 13.78 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008181/0.8143, allocations: 0.6396 MB / 1.292 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.8143, allocations: 0.5 kB / 1.292 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006451/0.815, allocations: 95.36 kB / 1.292 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.815, allocations: 5.734 kB / 1.292 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.815, allocations: 12.06 kB / 1.292 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.815, allocations: 5.281 kB / 1.292 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.815, allocations: 0.5625 kB / 1.292 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.8172, allocations: 0.8329 MB / 1.293 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/0.8175, allocations: 191.9 kB / 1.293 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/0.8175, allocations: 13.42 kB / 1.293 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005457/0.8181, allocations: 67.17 kB / 1.293 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.713e-05/0.8182, allocations: 26.55 kB / 1.293 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.8182, allocations: 15.73 kB / 1.293 GB, free: 12.95 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004499/0.8187, allocations: 385.9 kB / 1.293 GB, free: 12.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.8187, allocations: 1.406 kB / 1.293 GB, free: 12.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004117/0.8191, allocations: 104.9 kB / 1.294 GB, free: 12.76 MB / 1.014 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.002545/0.8216, allocations: 1.428 MB / 1.295 GB, free: 11.93 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002236/0.8239, allocations: 0.9184 MB / 1.296 GB, free: 11.65 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8239, allocations: 3.938 kB / 1.296 GB, free: 11.64 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.8249, allocations: 409.3 kB / 1.296 GB, free: 11.54 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.8254, allocations: 96.75 kB / 1.296 GB, free: 11.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.8376, allocations: 7.316 MB / 1.303 GB, free: 8.438 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.838, allocations: 0.859 MB / 1.304 GB, free: 7.707 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004567/0.8385, allocations: 133.6 kB / 1.304 GB, free: 7.664 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.8387, allocations: 135.9 kB / 1.305 GB, free: 7.57 MB / 1.014 GB Notification: Performance of SimCode: time 8.62e-07/0.8387, allocations: 0 / 1.305 GB, free: 7.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03795/0.8767, allocations: 13.34 MB / 1.318 GB, free: 5.824 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.566/8.443, allocations: 5.375 kB / 1.318 GB, free: 5.824 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.653252215000975]