Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002215/0.002215, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002622/0.002623, allocations: 192.8 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.483/2.483, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.842/3.842, allocations: 390.3 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 67.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43/1.432, allocations: 140.4 MB / 0.9492 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.008194/1.441, allocations: 2.961 MB / 0.9521 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00488/1.446, allocations: 1.482 MB / 0.9536 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009368/1.447, allocations: 11.25 kB / 0.9536 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007773/1.447, allocations: 81.53 kB / 0.9537 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007698/1.448, allocations: 125.2 kB / 0.9538 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/1.45, allocations: 369.8 kB / 0.9541 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009907/1.451, allocations: 0.531 MB / 0.9547 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006186/1.452, allocations: 201.5 kB / 0.9549 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005849/1.452, allocations: 204 kB / 0.955 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005412/1.453, allocations: 203.5 kB / 0.9552 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000276/1.453, allocations: 42.72 kB / 0.9553 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006131/1.454, allocations: 98.09 kB / 0.9554 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002708/1.454, allocations: 111.7 kB / 0.9555 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003875/1.455, allocations: 212.6 kB / 0.9557 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/1.456, allocations: 0.5749 MB / 0.9562 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.245e-05/1.456, allocations: 1.25 kB / 0.9562 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.419e-06/1.456, allocations: 0 / 0.9562 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.44e-05/1.456, allocations: 0 / 0.9562 GB, free: 3.832 MB / 0.7169 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.002926/1.459, allocations: 0.8022 MB / 0.957 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 9.304e-05/1.459, allocations: 9.156 kB / 0.957 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/1.459, allocations: 63.36 kB / 0.9571 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/1.46, allocations: 57.47 kB / 0.9572 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/1.461, allocations: 433.3 kB / 0.9576 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.835e-05/1.461, allocations: 28.22 kB / 0.9576 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.182e-05/1.461, allocations: 24.91 kB / 0.9576 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/1.462, allocations: 328.2 kB / 0.9579 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/1.462, allocations: 1.469 kB / 0.9579 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.256e-05/1.462, allocations: 10.94 kB / 0.9579 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/1.462, allocations: 6.594 kB / 0.9579 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009023/1.463, allocations: 217.2 kB / 0.9582 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002357/1.465, allocations: 1.109 MB / 0.9592 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/1.467, allocations: 236.7 kB / 0.9595 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004711/1.467, allocations: 112.3 kB / 0.9596 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.84e-05/1.467, allocations: 2.312 kB / 0.9596 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007942/1.468, allocations: 155.6 kB / 0.9597 GB, free: 1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 5.641e-06/1.468, allocations: 0 / 0.9597 GB, free: 1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.001654/1.47, allocations: 359 kB / 0.9601 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/1.47, allocations: 109.8 kB / 0.9602 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/1.471, allocations: 458.5 kB / 0.9606 GB, free: 420 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/1.471, allocations: 30.8 kB / 0.9606 GB, free: 384 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/1.471, allocations: 228.5 kB / 0.9609 GB, free: 176 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/1.471, allocations: 76.14 kB / 0.9609 GB, free: 108 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/1.472, allocations: 54.95 kB / 0.961 GB, free: 68 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.002096/1.474, allocations: 352.8 kB / 0.9613 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/1.474, allocations: 82.64 kB / 0.9614 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/1.475, allocations: 157.6 kB / 0.9615 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008663/1.476, allocations: 224.5 kB / 0.9618 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/1.476, allocations: 0 / 0.9618 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00132/1.477, allocations: 308 kB / 0.9621 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/1.477, allocations: 5.688 kB / 0.9621 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/1.477, allocations: 1.344 kB / 0.9621 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.708e-05/1.477, allocations: 2.188 kB / 0.9621 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/1.478, allocations: 50.34 kB / 0.9621 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/1.478, allocations: 2.5 kB / 0.9621 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/1.478, allocations: 27.48 kB / 0.9621 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/1.478, allocations: 15.55 kB / 0.9622 GB, free: 15.21 MB / 0.7325 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.0004689/1.479, allocations: 179.6 kB / 0.9623 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/1.479, allocations: 46.44 kB / 0.9624 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/1.479, allocations: 45.08 kB / 0.9624 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.479, allocations: 3.531 kB / 0.9624 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/1.479, allocations: 0 / 0.9624 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/1.479, allocations: 0 / 0.9624 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009635/1.48, allocations: 415.7 kB / 0.9628 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.48, allocations: 4 kB / 0.9628 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004016/1.48, allocations: 41.94 kB / 0.9629 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/1.481, allocations: 1.469 kB / 0.9629 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/1.481, allocations: 9.234 kB / 0.9629 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/1.481, allocations: 1.188 kB / 0.9629 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.481, allocations: 0 / 0.9629 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/1.482, allocations: 426.5 kB / 0.9633 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003873/1.483, allocations: 138.8 kB / 0.9634 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/1.483, allocations: 6.844 kB / 0.9634 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/1.483, allocations: 13.58 kB / 0.9634 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/1.484, allocations: 21.06 kB / 0.9634 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/1.484, allocations: 5.969 kB / 0.9634 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009407/1.485, allocations: 320.1 kB / 0.9638 GB, free: 14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.61e-07/1.485, allocations: 0 / 0.9638 GB, free: 14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000854/1.485, allocations: 71.47 kB / 0.9638 GB, free: 13.99 MB / 0.7325 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.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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.00436/1.49, allocations: 1.299 MB / 0.9651 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001225/1.491, allocations: 239.3 kB / 0.9653 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.491, allocations: 0 / 0.9653 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000505/1.492, allocations: 111.7 kB / 0.9654 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/1.493, allocations: 108.1 kB / 0.9655 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.506, allocations: 3.585 MB / 0.969 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009536/1.507, allocations: 0.8122 MB / 0.9698 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004623/1.512, allocations: 59.27 kB / 0.9699 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005377/1.513, allocations: 147.2 kB / 0.97 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of SimCode: time 2.345e-06/1.513, allocations: 0 / 0.97 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1392/1.652, allocations: 8.684 MB / 0.9785 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006192/1.653, allocations: 292.5 kB / 0.9788 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.892/5.544, allocations: 4.5 kB / 0.9788 GB, free: 3.512 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches