Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001694/0.001694, allocations: 117.2 kB / 17.17 MB, free: 5.754 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.002026/0.002026, allocations: 207.3 kB / 20.13 MB, free: 2.914 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.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.788/2.788, allocations: 476.7 MB / 0.7678 GB, free: 9.398 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_11_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_11_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="cs",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.001994/0.001994, allocations: 63.91 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.873/0.875, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.005191/0.8801, allocations: 2.876 MB / 1.282 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003268/0.8834, allocations: 1.534 MB / 1.283 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00046/0.8839, allocations: 14.66 kB / 1.283 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005857/0.8845, allocations: 149 kB / 1.283 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006737/0.8851, allocations: 186.8 kB / 1.284 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008638/0.886, allocations: 280.3 kB / 1.284 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008041/0.8868, allocations: 488.7 kB / 1.284 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.8871, allocations: 127.9 kB / 1.284 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/0.8875, allocations: 206 kB / 1.285 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.8878, allocations: 205.3 kB / 1.285 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.139e-05/0.8879, allocations: 42.44 kB / 1.285 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.8881, allocations: 84.92 kB / 1.285 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.8882, allocations: 102.7 kB / 1.285 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.8884, allocations: 183.9 kB / 1.285 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.8892, allocations: 0.538 MB / 1.286 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8893, allocations: 5.062 kB / 1.286 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8893, allocations: 0 / 1.286 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.8893, allocations: 0 / 1.286 GB, free: 7.281 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0013/0.8906, allocations: 0.7338 MB / 1.286 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.8906, allocations: 9.609 kB / 1.286 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.633e-05/0.8906, allocations: 7.156 kB / 1.286 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.444e-05/0.8907, allocations: 61.11 kB / 1.287 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.8909, allocations: 55.09 kB / 1.287 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007117/0.8916, allocations: 421.3 kB / 1.287 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.8917, allocations: 21.97 kB / 1.287 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.8917, allocations: 23.97 kB / 1.287 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.8923, allocations: 275.2 kB / 1.287 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.8923, allocations: 0 / 1.287 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.8923, allocations: 14.94 kB / 1.287 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.8923, allocations: 5.312 kB / 1.287 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004659/0.8928, allocations: 183.1 kB / 1.287 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.8943, allocations: 0.8863 MB / 1.288 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007879/0.8951, allocations: 217.3 kB / 1.289 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.8953, allocations: 86.72 kB / 1.289 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.8953, allocations: 3.734 kB / 1.289 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003362/0.8957, allocations: 139.8 kB / 1.289 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.8957, allocations: 1.031 kB / 1.289 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0008038/0.8965, allocations: 293.1 kB / 1.289 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.8965, allocations: 58.81 kB / 1.289 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000533/0.8971, allocations: 427 kB / 1.29 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.8971, allocations: 31.23 kB / 1.29 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.8973, allocations: 214.9 kB / 1.29 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.8973, allocations: 68.34 kB / 1.29 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.8975, allocations: 50.97 kB / 1.29 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.8976, allocations: 351.7 kB / 1.29 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.8978, allocations: 65.97 kB / 1.29 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.898, allocations: 121 kB / 1.29 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.8985, allocations: 186.9 kB / 1.291 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.8985, allocations: 4 kB / 1.291 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005534/0.899, allocations: 269.6 kB / 1.291 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.899, allocations: 6.453 kB / 1.291 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.899, allocations: 5.375 kB / 1.291 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.899, allocations: 2.375 kB / 1.291 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.8993, allocations: 46.58 kB / 1.291 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.8993, allocations: 7.172 kB / 1.291 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/0.8994, allocations: 22.77 kB / 1.291 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.8995, allocations: 7.078 kB / 1.291 GB, free: 3.852 MB / 0.9981 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.0001949/0.8997, allocations: 173.3 kB / 1.291 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.8997, allocations: 42.5 kB / 1.291 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.908e-05/0.8998, allocations: 45.69 kB / 1.291 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.8998, allocations: 2.375 kB / 1.291 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.8998, allocations: 3.938 kB / 1.291 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.8998, allocations: 1.594 kB / 1.291 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.901, allocations: 0.6781 MB / 1.292 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.901, allocations: 1.062 kB / 1.292 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.9011, allocations: 36.58 kB / 1.292 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.9012, allocations: 5.891 kB / 1.292 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.9012, allocations: 6.859 kB / 1.292 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.9012, allocations: 1.531 kB / 1.292 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9012, allocations: 0 / 1.292 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008058/0.902, allocations: 423.5 kB / 1.292 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.9021, allocations: 136.6 kB / 1.292 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.694e-05/0.9022, allocations: 7.234 kB / 1.292 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.9023, allocations: 5.766 kB / 1.292 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.9024, allocations: 18.5 kB / 1.292 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.9024, allocations: 6.422 kB / 1.292 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003576/0.9028, allocations: 303.5 kB / 1.293 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9028, allocations: 0 / 1.293 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00036/0.9032, allocations: 70.23 kB / 1.293 GB, free: 2.621 MB / 0.9981 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.002565/0.9057, allocations: 1.284 MB / 1.294 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004907/0.9062, allocations: 172.7 kB / 1.294 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9062, allocations: 0 / 1.294 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.9064, allocations: 81.81 kB / 1.294 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/0.907, allocations: 92.2 kB / 1.294 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.9116, allocations: 3.097 MB / 1.297 GB, free: 15.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.9121, allocations: 0.8038 MB / 1.298 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.9123, allocations: 48.27 kB / 1.298 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.9125, allocations: 134.5 kB / 1.298 GB, free: 14.83 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/0.9125, allocations: 0 / 1.298 GB, free: 14.83 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.9436, allocations: 7.739 MB / 1.306 GB, free: 13.79 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.919/9.863, allocations: 9.281 kB / 1.306 GB, free: 13.79 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_11_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --stepSize=0.144 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.0745750060305]