Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.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.001775/0.001775, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002597/0.002597, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.392/3.392, allocations: 0.505 GB / 0.8101 GB, free: 21.97 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 71.22 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3702, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.005435/0.3756, allocations: 2.895 MB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003381/0.379, allocations: 1.551 MB / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005643/0.3796, allocations: 15.88 kB / 1.357 GB, free: 3.938 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005675/0.3801, allocations: 143.1 kB / 1.357 GB, free: 3.797 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0006267/0.3807, allocations: 187 kB / 1.358 GB, free: 3.613 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007673/0.3815, allocations: 289.9 kB / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007327/0.3822, allocations: 491.4 kB / 1.358 GB, free: 2.852 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003414/0.3826, allocations: 135.1 kB / 1.358 GB, free: 2.715 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004275/0.383, allocations: 199.1 kB / 1.359 GB, free: 2.52 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.3834, allocations: 203.1 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.121e-05/0.3834, allocations: 40 kB / 1.359 GB, free: 2.281 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.3836, allocations: 87.97 kB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.3838, allocations: 99.56 kB / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.384, allocations: 182.9 kB / 1.359 GB, free: 1.918 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008401/0.3848, allocations: 0.5407 MB / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3848, allocations: 0 / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3848, allocations: 0 / 1.36 GB, free: 1.375 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.3848, allocations: 0 / 1.36 GB, free: 1.375 MB / 1.045 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.001554/0.3864, allocations: 0.6882 MB / 1.36 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3864, allocations: 8.031 kB / 1.36 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.075e-05/0.3865, allocations: 62.72 kB / 1.36 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002302/0.3868, allocations: 60.55 kB / 1.36 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008241/0.3876, allocations: 355.6 kB / 1.361 GB, free: 148 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.3876, allocations: 16.88 kB / 1.361 GB, free: 132 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.6e-05/0.3877, allocations: 27.94 kB / 1.361 GB, free: 104 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006517/0.3883, allocations: 274.8 kB / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3883, allocations: 0 / 1.361 GB, free: 15.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.3884, allocations: 12 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.3884, allocations: 7.938 kB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/0.3889, allocations: 185.9 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.3905, allocations: 0.8376 MB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007535/0.3912, allocations: 222.9 kB / 1.362 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.3914, allocations: 84.81 kB / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.3915, allocations: 0 / 1.362 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003392/0.3918, allocations: 149.3 kB / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.3918, allocations: 0 / 1.363 GB, free: 14.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0007515/0.3926, allocations: 293.2 kB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.3926, allocations: 51.41 kB / 1.363 GB, free: 13.9 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/0.3931, allocations: 429.5 kB / 1.363 GB, free: 13.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.3932, allocations: 33.7 kB / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.3934, allocations: 220.3 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.003e-05/0.3934, allocations: 59.55 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.865e-05/0.3935, allocations: 53.92 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.3937, allocations: 350.7 kB / 1.364 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.3939, allocations: 68.44 kB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.3941, allocations: 119.2 kB / 1.364 GB, free: 12.55 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/0.3945, allocations: 196.9 kB / 1.364 GB, free: 12.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.3945, allocations: 4 kB / 1.364 GB, free: 12.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005341/0.3951, allocations: 257.2 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3951, allocations: 8 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.3951, allocations: 3.984 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3951, allocations: 4 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.3953, allocations: 43.91 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.3954, allocations: 8.156 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.3955, allocations: 35.7 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.3955, allocations: 15.94 kB / 1.365 GB, free: 11.96 MB / 1.061 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,dxSpeCon.not1.y,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,reaToInt.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.0002045/0.3957, allocations: 166.4 kB / 1.365 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/0.3958, allocations: 39.77 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006748/0.3965, allocations: 246.8 kB / 1.365 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3965, allocations: 7.938 kB / 1.365 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3965, allocations: 3.938 kB / 1.365 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.3965, allocations: 3.984 kB / 1.365 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.3976, allocations: 0.6551 MB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3976, allocations: 0 / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/0.3978, allocations: 27.98 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.3978, allocations: 7.938 kB / 1.366 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.3978, allocations: 11.98 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3978, allocations: 0 / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3978, allocations: 3.938 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008213/0.3986, allocations: 415.2 kB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.3987, allocations: 63.66 kB / 1.366 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.3988, allocations: 4.062 kB / 1.366 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.3989, allocations: 11.98 kB / 1.366 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.399, allocations: 19.97 kB / 1.366 GB, free: 10.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.399, allocations: 4 kB / 1.366 GB, free: 10.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003489/0.3994, allocations: 303.1 kB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3994, allocations: 0 / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003534/0.3997, allocations: 67.83 kB / 1.367 GB, free: 9.852 MB / 1.061 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,reaToInt.y,cooMod.nextTimeEventScaled,cooMod.nextTimeEvent) * 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.002642/0.4024, allocations: 1.276 MB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004802/0.4029, allocations: 179.6 kB / 1.368 GB, free: 8.543 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4029, allocations: 0 / 1.368 GB, free: 8.543 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.4031, allocations: 83.89 kB / 1.368 GB, free: 8.461 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005776/0.4037, allocations: 81.16 kB / 1.368 GB, free: 8.387 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004544/0.4082, allocations: 3.115 MB / 1.371 GB, free: 5.152 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.4087, allocations: 0.7988 MB / 1.372 GB, free: 4.324 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.4088, allocations: 50.92 kB / 1.372 GB, free: 4.273 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.409, allocations: 131.4 kB / 1.372 GB, free: 4.145 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.409, allocations: 4 kB / 1.372 GB, free: 4.141 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04249/0.4515, allocations: 7.927 MB / 1.38 GB, free: 12.32 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.06, allocations: 4.688 kB / 1.38 GB, free: 12.31 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --stepSize=0.144 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.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: 19.14963788096793]