Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.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.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",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.001202/0.001202, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 198.3 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 222.9 MB / 240.2 MB, free: 4.387 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 2.08/2.08, allocations: 390.2 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.89 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4858, allocations: 140.4 MB / 0.9497 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003201/0.4891, allocations: 2.817 MB / 0.9525 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.4906, allocations: 1.352 MB / 0.9538 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.4908, allocations: 11.97 kB / 0.9538 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.4911, allocations: 140.8 kB / 0.9539 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.4914, allocations: 143.1 kB / 0.9541 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.4918, allocations: 309.3 kB / 0.9544 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.4922, allocations: 476.9 kB / 0.9548 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.4924, allocations: 207.2 kB / 0.955 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.4926, allocations: 181.8 kB / 0.9552 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.4928, allocations: 200 kB / 0.9554 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.647e-05/0.4928, allocations: 35.78 kB / 0.9554 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.493, allocations: 76.45 kB / 0.9555 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.476e-05/0.493, allocations: 91.73 kB / 0.9556 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.4931, allocations: 189.6 kB / 0.9558 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.4935, allocations: 0.5138 MB / 0.9563 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.4935, allocations: 0 / 0.9563 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.61e-07/0.4935, allocations: 0 / 0.9563 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.4935, allocations: 0 / 0.9563 GB, free: 4.223 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0007658/0.4943, allocations: 0.7028 MB / 0.957 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.4943, allocations: 13.31 kB / 0.957 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.868e-05/0.4944, allocations: 66.12 kB / 0.957 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.4944, allocations: 46.75 kB / 0.9571 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.4948, allocations: 403.5 kB / 0.9575 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.4949, allocations: 18.69 kB / 0.9575 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.4949, allocations: 19.47 kB / 0.9575 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.4953, allocations: 283.5 kB / 0.9578 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.4953, allocations: 4 kB / 0.9578 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.4954, allocations: 11.03 kB / 0.9578 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4954, allocations: 5.438 kB / 0.9578 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.4957, allocations: 183.8 kB / 0.958 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009594/0.4967, allocations: 0.8837 MB / 0.9588 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006172/0.4973, allocations: 224 kB / 0.959 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.4975, allocations: 88.62 kB / 0.9591 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.4975, allocations: 6.25 kB / 0.9591 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.4978, allocations: 140.6 kB / 0.9593 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.4978, allocations: 0 / 0.9593 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0005903/0.4984, allocations: 294.8 kB / 0.9595 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.4984, allocations: 53.12 kB / 0.9596 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.4988, allocations: 410.9 kB / 0.96 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.4988, allocations: 35.86 kB / 0.96 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.094e-05/0.4989, allocations: 209.5 kB / 0.9602 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.4989, allocations: 67.56 kB / 0.9603 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/0.499, allocations: 51.67 kB / 0.9603 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.499, allocations: 352 kB / 0.9607 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.4992, allocations: 63.75 kB / 0.9607 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.4994, allocations: 120.3 kB / 0.9608 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.4997, allocations: 183.3 kB / 0.961 GB, free: 452 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4997, allocations: 1.062 kB / 0.961 GB, free: 452 kB / 0.7169 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000426/0.5001, allocations: 259 kB / 0.9613 GB, free: 308 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5001, allocations: 5.094 kB / 0.9613 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.5002, allocations: 6.312 kB / 0.9613 GB, free: 304 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.5002, allocations: 6.781 kB / 0.9613 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.5004, allocations: 50.47 kB / 0.9613 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5004, allocations: 6.438 kB / 0.9613 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.5005, allocations: 23.19 kB / 0.9614 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.5005, allocations: 7.625 kB / 0.9614 GB, free: 264 kB / 0.7169 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.nextTimeEvent,$whenCondition1,reaToInt.y,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEvent,dxSpeCon.not1.y,$whenCondition2,dxSpeCon.conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001133/0.5007, allocations: 168.6 kB / 0.9615 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.5007, allocations: 36.41 kB / 0.9616 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.628e-05/0.5008, allocations: 48.2 kB / 0.9616 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5008, allocations: 6.438 kB / 0.9616 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5008, allocations: 0 / 0.9616 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5008, allocations: 0 / 0.9616 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008201/0.5016, allocations: 0.6729 MB / 0.9623 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5016, allocations: 1.188 kB / 0.9623 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.5018, allocations: 46.19 kB / 0.9623 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5018, allocations: 1.125 kB / 0.9623 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.5018, allocations: 6.344 kB / 0.9623 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5018, allocations: 3.938 kB / 0.9623 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5019, allocations: 1.25 kB / 0.9623 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.5025, allocations: 420.7 kB / 0.9627 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.673e-05/0.5026, allocations: 132.9 kB / 0.9629 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.5026, allocations: 8.062 kB / 0.9629 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.5028, allocations: 9.797 kB / 0.9629 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.5028, allocations: 13.67 kB / 0.9629 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.5029, allocations: 13.58 kB / 0.9629 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002594/0.5031, allocations: 292.8 kB / 0.9632 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5031, allocations: 0 / 0.9632 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002935/0.5034, allocations: 56.41 kB / 0.9632 GB, free: 14.84 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dxSpeCon.dxSpe.I.y) * Number of discrete variables: 6 (dxSpeCon.not1.y,$whenCondition2,$whenCondition1,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,reaToInt.y) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * 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.001599/0.505, allocations: 1.278 MB / 0.9645 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000422/0.5055, allocations: 190.3 kB / 0.9647 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5055, allocations: 0 / 0.9647 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.5057, allocations: 96.42 kB / 0.9648 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.5062, allocations: 88.03 kB / 0.9648 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.5096, allocations: 3.075 MB / 0.9678 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.5099, allocations: 0.8034 MB / 0.9686 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001416/0.51, allocations: 42.98 kB / 0.9687 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.5102, allocations: 134.9 kB / 0.9688 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.5102, allocations: 0 / 0.9688 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5651/1.075, allocations: 7.397 MB / 0.976 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.366/8.442, allocations: 16.23 kB / 0.976 GB, free: 6.668 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches