Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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.001022/0.001022, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001171/0.001171, allocations: 169.9 kB / 22.46 MB, free: 2.105 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 0.9051/0.9051, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.66/1.66, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.294e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004559/0.004582, allocations: 2.781 MB / 0.9532 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003152/0.007734, allocations: 1.636 MB / 0.9548 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003523/0.008086, allocations: 15.88 kB / 0.9548 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.008547, allocations: 111 kB / 0.9549 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005684/0.009115, allocations: 190.8 kB / 0.9551 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009897/0.0101, allocations: 405.3 kB / 0.9555 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0006489/0.01075, allocations: 0.5615 MB / 0.956 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00029/0.01104, allocations: 129.7 kB / 0.9562 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004735/0.01152, allocations: 307.1 kB / 0.9564 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002436/0.01176, allocations: 155.5 kB / 0.9566 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.589e-05/0.01183, allocations: 44 kB / 0.9566 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.01203, allocations: 107.9 kB / 0.9567 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.01216, allocations: 115.5 kB / 0.9568 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.01229, allocations: 119.6 kB / 0.957 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007384/0.01303, allocations: 0.6307 MB / 0.9576 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01303, allocations: 0 / 0.9576 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.152e-06/0.01303, allocations: 0 / 0.9576 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.01304, allocations: 0 / 0.9576 GB, free: 12.22 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001305/0.01435, allocations: 0.7436 MB / 0.9583 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.01439, allocations: 8.031 kB / 0.9583 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.599e-05/0.01447, allocations: 66.72 kB / 0.9584 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00027/0.01474, allocations: 68.59 kB / 0.9584 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007155/0.01545, allocations: 398.9 kB / 0.9588 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/0.01549, allocations: 21.03 kB / 0.9588 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/0.01554, allocations: 32.38 kB / 0.9589 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006127/0.01615, allocations: 379.7 kB / 0.9592 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.01617, allocations: 0 / 0.9592 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.0162, allocations: 12 kB / 0.9592 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.01621, allocations: 12 kB / 0.9593 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005154/0.01672, allocations: 209.8 kB / 0.9595 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.01809, allocations: 0.9915 MB / 0.9604 GB, free: 9.133 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000583/0.01867, allocations: 222.9 kB / 0.9606 GB, free: 8.906 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.01888, allocations: 108.8 kB / 0.9607 GB, free: 8.797 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.01891, allocations: 4 kB / 0.9607 GB, free: 8.793 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003409/0.01925, allocations: 157.9 kB / 0.9609 GB, free: 8.629 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=23): time 1.924e-06/0.01925, allocations: 0 / 0.9609 GB, free: 8.629 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.0008123/0.02006, allocations: 361.1 kB / 0.9612 GB, free: 8.27 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.02011, allocations: 85.05 kB / 0.9613 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000531/0.02064, allocations: 465.9 kB / 0.9618 GB, free: 7.699 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.02067, allocations: 33.7 kB / 0.9618 GB, free: 7.66 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.02085, allocations: 232.7 kB / 0.962 GB, free: 7.43 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.111e-05/0.02092, allocations: 83.3 kB / 0.9621 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-05/0.02102, allocations: 53.66 kB / 0.9622 GB, free: 7.289 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.02115, allocations: 358.8 kB / 0.9625 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.02137, allocations: 83.95 kB / 0.9626 GB, free: 6.848 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.02164, allocations: 214.1 kB / 0.9628 GB, free: 6.602 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.02208, allocations: 224 kB / 0.963 GB, free: 6.367 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.02209, allocations: 0 / 0.963 GB, free: 6.367 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005928/0.02268, allocations: 301.1 kB / 0.9633 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.02271, allocations: 14.59 kB / 0.9633 GB, free: 6.055 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.02271, allocations: 0 / 0.9633 GB, free: 6.055 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.02273, allocations: 4 kB / 0.9633 GB, free: 6.051 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.02294, allocations: 51.91 kB / 0.9633 GB, free: 6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.02295, allocations: 4 kB / 0.9633 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.02309, allocations: 35.98 kB / 0.9634 GB, free: 5.961 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.0231, allocations: 8 kB / 0.9634 GB, free: 5.953 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition1,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,cooTowSpeCon.fmcMod.y,cooTowSpeCon.pmcMod.y,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0001536/0.02326, allocations: 173.8 kB / 0.9636 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.0233, allocations: 43.72 kB / 0.9636 GB, free: 5.73 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/0.0237, allocations: 300.2 kB / 0.9639 GB, free: 5.438 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.0237, allocations: 4 kB / 0.9639 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.02371, allocations: 7.938 kB / 0.9639 GB, free: 5.426 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.02371, allocations: 0 / 0.9639 GB, free: 5.426 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.02397, allocations: 344.5 kB / 0.9642 GB, free: 5.047 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02398, allocations: 0 / 0.9642 GB, free: 5.047 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.02409, allocations: 47.91 kB / 0.9643 GB, free: 5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.02409, allocations: 0 / 0.9643 GB, free: 5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.02411, allocations: 11.94 kB / 0.9643 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.02411, allocations: 4 kB / 0.9643 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.02411, allocations: 0 / 0.9643 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005055/0.02462, allocations: 432.5 kB / 0.9647 GB, free: 4.543 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/0.0247, allocations: 67.66 kB / 0.9648 GB, free: 4.477 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.02473, allocations: 7.938 kB / 0.9648 GB, free: 4.469 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.0248, allocations: 15.92 kB / 0.9648 GB, free: 4.453 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.02486, allocations: 23.91 kB / 0.9648 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.02488, allocations: 11.98 kB / 0.9648 GB, free: 4.418 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002445/0.02512, allocations: 331.1 kB / 0.9651 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02512, allocations: 64 / 0.9651 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002258/0.02535, allocations: 83.78 kB / 0.9652 GB, free: 4.016 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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.001356/0.0267, allocations: 1.31 MB / 0.9665 GB, free: 2.859 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003443/0.02705, allocations: 219.8 kB / 0.9667 GB, free: 2.645 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.02705, allocations: 0 / 0.9667 GB, free: 2.645 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.0272, allocations: 114.2 kB / 0.9668 GB, free: 2.535 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.02753, allocations: 114.3 kB / 0.9669 GB, free: 2.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.03079, allocations: 3.496 MB / 0.9703 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.03093, allocations: 219.4 kB / 0.9705 GB, free: 14.57 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001458/0.03107, allocations: 51.25 kB / 0.9706 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.03124, allocations: 152.4 kB / 0.9707 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of SimCode: time 4.81e-07/0.03124, allocations: 0 / 0.9707 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.05448, allocations: 10.23 MB / 0.9807 GB, free: 4.367 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.253/7.307, allocations: 4 kB / 0.9807 GB, free: 4.363 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --stepSize=0.432 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.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: 11.313960338011384]