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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 105.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.719/2.719, allocations: 497.2 MB / 0.7812 GB, free: 11.92 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 63.89 kB / 1.134 GB, free: 13.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8475/0.8494, allocations: 173.9 MB / 1.304 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003435/0.8528, allocations: 2.854 MB / 1.307 GB, free: 30.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.8547, allocations: 1.354 MB / 1.308 GB, free: 29.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000268/0.855, allocations: 12.38 kB / 1.308 GB, free: 29.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.8554, allocations: 150.7 kB / 1.308 GB, free: 29.1 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.8557, allocations: 147.9 kB / 1.308 GB, free: 29.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.8562, allocations: 293.7 kB / 1.309 GB, free: 28.85 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.8566, allocations: 482.2 kB / 1.309 GB, free: 28.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.8569, allocations: 134.3 kB / 1.309 GB, free: 28.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.8571, allocations: 191 kB / 1.309 GB, free: 28.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.8573, allocations: 206.7 kB / 1.31 GB, free: 28.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.509e-05/0.8573, allocations: 36.31 kB / 1.31 GB, free: 28.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.8574, allocations: 80.83 kB / 1.31 GB, free: 28.31 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.834e-05/0.8575, allocations: 88.28 kB / 1.31 GB, free: 28.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.8576, allocations: 191.4 kB / 1.31 GB, free: 28.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.8581, allocations: 0.523 MB / 1.31 GB, free: 27.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8581, allocations: 6.75 kB / 1.31 GB, free: 27.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8581, allocations: 0 / 1.31 GB, free: 27.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.8581, allocations: 4 kB / 1.311 GB, free: 27.87 MB / 1.061 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.0008878/0.859, allocations: 0.7136 MB / 1.311 GB, free: 27.28 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.859, allocations: 11.62 kB / 1.311 GB, free: 27.28 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.175e-05/0.8591, allocations: 59.33 kB / 1.311 GB, free: 27.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.036e-05/0.8592, allocations: 48.03 kB / 1.311 GB, free: 27.2 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.8597, allocations: 414.3 kB / 1.312 GB, free: 26.88 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.8597, allocations: 20.38 kB / 1.312 GB, free: 26.87 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.8597, allocations: 26.84 kB / 1.312 GB, free: 26.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.8602, allocations: 273.7 kB / 1.312 GB, free: 26.73 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.8602, allocations: 4 kB / 1.312 GB, free: 26.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.8602, allocations: 10.75 kB / 1.312 GB, free: 26.72 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.8602, allocations: 9.125 kB / 1.312 GB, free: 26.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003589/0.8606, allocations: 183.4 kB / 1.312 GB, free: 26.65 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.8616, allocations: 0.8712 MB / 1.313 GB, free: 26.08 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.8622, allocations: 216.5 kB / 1.313 GB, free: 25.99 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.8624, allocations: 85.17 kB / 1.313 GB, free: 25.95 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.8624, allocations: 6.531 kB / 1.313 GB, free: 25.95 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.8627, allocations: 138.7 kB / 1.313 GB, free: 25.87 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.833e-06/0.8627, allocations: 0 / 1.313 GB, free: 25.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0005933/0.8633, allocations: 287.4 kB / 1.314 GB, free: 25.75 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.8633, allocations: 58.34 kB / 1.314 GB, free: 25.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.8636, allocations: 412 kB / 1.314 GB, free: 25.48 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.8636, allocations: 32.77 kB / 1.314 GB, free: 25.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.8637, allocations: 226.5 kB / 1.314 GB, free: 25.26 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.8638, allocations: 59 kB / 1.315 GB, free: 25.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.586e-05/0.8639, allocations: 56.39 kB / 1.315 GB, free: 25.18 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.768e-05/0.8639, allocations: 349.1 kB / 1.315 GB, free: 24.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.8641, allocations: 72.06 kB / 1.315 GB, free: 24.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.8642, allocations: 118.2 kB / 1.315 GB, free: 24.74 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.8645, allocations: 182.8 kB / 1.315 GB, free: 24.63 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8645, allocations: 0 / 1.315 GB, free: 24.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004178/0.8649, allocations: 264 kB / 1.316 GB, free: 24.51 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.865, allocations: 9.875 kB / 1.316 GB, free: 24.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.865, allocations: 0 / 1.316 GB, free: 24.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.865, allocations: 2.812 kB / 1.316 GB, free: 24.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.8652, allocations: 45.17 kB / 1.316 GB, free: 24.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.8652, allocations: 2.781 kB / 1.316 GB, free: 24.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.8653, allocations: 35.17 kB / 1.316 GB, free: 24.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.8653, allocations: 8 kB / 1.316 GB, free: 24.48 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,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.0001367/0.8655, allocations: 169.2 kB / 1.316 GB, free: 24.33 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.8655, allocations: 39.73 kB / 1.316 GB, free: 24.31 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.931e-05/0.8656, allocations: 42.89 kB / 1.316 GB, free: 24.29 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.8656, allocations: 2.031 kB / 1.316 GB, free: 24.29 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.8656, allocations: 6.281 kB / 1.316 GB, free: 24.29 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.8656, allocations: 3.938 kB / 1.316 GB, free: 24.28 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007573/0.8664, allocations: 0.6768 MB / 1.317 GB, free: 23.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8664, allocations: 0 / 1.317 GB, free: 23.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.8665, allocations: 34.77 kB / 1.317 GB, free: 23.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.8665, allocations: 0 / 1.317 GB, free: 23.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.8666, allocations: 10.28 kB / 1.317 GB, free: 23.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8666, allocations: 0 / 1.317 GB, free: 23.81 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8666, allocations: 5.906 kB / 1.317 GB, free: 23.81 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005744/0.8671, allocations: 424.1 kB / 1.317 GB, free: 23.56 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.35e-05/0.8672, allocations: 133.9 kB / 1.317 GB, free: 23.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.8673, allocations: 14.03 kB / 1.317 GB, free: 23.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.8674, allocations: 9.25 kB / 1.317 GB, free: 23.42 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.8675, allocations: 18.62 kB / 1.317 GB, free: 23.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.8675, allocations: 8.672 kB / 1.317 GB, free: 23.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002272/0.8677, allocations: 292.8 kB / 1.317 GB, free: 23.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8677, allocations: 0 / 1.317 GB, free: 23.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003099/0.868, allocations: 68.41 kB / 1.317 GB, free: 23.25 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,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.002011/0.87, allocations: 1.273 MB / 1.319 GB, free: 22.37 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000413/0.8705, allocations: 174.4 kB / 1.319 GB, free: 22.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8705, allocations: 3.938 kB / 1.319 GB, free: 22.31 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.8706, allocations: 85.17 kB / 1.319 GB, free: 22.29 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.8711, allocations: 87.22 kB / 1.319 GB, free: 22.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.8743, allocations: 3.073 MB / 1.322 GB, free: 20.29 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.8745, allocations: 0.7959 MB / 1.323 GB, free: 19.59 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000162/0.8746, allocations: 48.64 kB / 1.323 GB, free: 19.58 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.8748, allocations: 127.1 kB / 1.323 GB, free: 19.48 MB / 1.061 GB Notification: Performance of SimCode: time 6.91e-07/0.8748, allocations: 0 / 1.323 GB, free: 19.48 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.9093, allocations: 7.586 MB / 1.33 GB, free: 18.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/9.029, allocations: 8.828 kB / 1.33 GB, free: 18.46 MB / 1.061 GB " [Timeout remaining time 291] (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_2/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: 14.95955539867282]