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.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.001586/0.001586, allocations: 112.4 kB / 16.46 MB, free: 6.504 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.001574/0.001574, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.496/1.496, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.988/2.988, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_11_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 67.89 kB / 1.104 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7838/0.7861, allocations: 168.7 MB / 1.269 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.00537/0.7915, allocations: 2.844 MB / 1.272 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002827/0.7943, allocations: 1.364 MB / 1.273 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003777/0.7947, allocations: 11.94 kB / 1.273 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005622/0.7952, allocations: 143.2 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000494/0.7957, allocations: 147.2 kB / 1.273 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008415/0.7966, allocations: 307.2 kB / 1.273 GB, free: 320 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007541/0.7973, allocations: 483.4 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.7977, allocations: 119.2 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003985/0.7981, allocations: 199.1 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.7984, allocations: 195.1 kB / 1.274 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.7985, allocations: 40 kB / 1.274 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.7987, allocations: 83.91 kB / 1.274 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.7989, allocations: 87.69 kB / 1.275 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.7991, allocations: 194.8 kB / 1.275 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007895/0.7999, allocations: 0.5251 MB / 1.275 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.7999, allocations: 4 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7999, allocations: 0 / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.83e-05/0.7999, allocations: 3.938 kB / 1.275 GB, free: 14.39 MB / 0.9825 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.001451/0.8014, allocations: 0.716 MB / 1.276 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.8014, allocations: 16.03 kB / 1.276 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.037e-05/0.8015, allocations: 58.73 kB / 1.276 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.8016, allocations: 44.66 kB / 1.276 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008215/0.8024, allocations: 410.9 kB / 1.276 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.8024, allocations: 20.92 kB / 1.277 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/0.8025, allocations: 27.94 kB / 1.277 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006161/0.8031, allocations: 275.7 kB / 1.277 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.8031, allocations: 3.984 kB / 1.277 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.8032, allocations: 12 kB / 1.277 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.8032, allocations: 4 kB / 1.277 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004727/0.8037, allocations: 182.2 kB / 1.277 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.8054, allocations: 0.8688 MB / 1.278 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008014/0.8062, allocations: 226.9 kB / 1.278 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.8064, allocations: 84.77 kB / 1.278 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.8064, allocations: 4 kB / 1.278 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003631/0.8068, allocations: 143.2 kB / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 2.224e-06/0.8068, allocations: 0 / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.000834/0.8076, allocations: 296 kB / 1.279 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.8077, allocations: 51.41 kB / 1.279 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005958/0.8083, allocations: 417.6 kB / 1.279 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.8083, allocations: 29.7 kB / 1.279 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.8085, allocations: 224.2 kB / 1.279 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.949e-05/0.8086, allocations: 55.55 kB / 1.279 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.8087, allocations: 49.94 kB / 1.279 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.8089, allocations: 354.7 kB / 1.28 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.8091, allocations: 68.42 kB / 1.28 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.8093, allocations: 118.7 kB / 1.28 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.8098, allocations: 187.5 kB / 1.28 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.8098, allocations: 0 / 1.28 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006286/0.8104, allocations: 267.6 kB / 1.28 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.8104, allocations: 8 kB / 1.28 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.8104, allocations: 0 / 1.28 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.8105, allocations: 4 kB / 1.28 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.8107, allocations: 43.91 kB / 1.28 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.8107, allocations: 4 kB / 1.28 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.8109, allocations: 31.75 kB / 1.28 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.8109, allocations: 12.16 kB / 1.28 GB, free: 8.871 MB / 0.9825 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.0002479/0.8112, allocations: 169 kB / 1.281 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.8113, allocations: 35.77 kB / 1.281 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.8114, allocations: 43.58 kB / 1.281 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.8114, allocations: 7.984 kB / 1.281 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.8114, allocations: 7.938 kB / 1.281 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.8114, allocations: 3.938 kB / 1.281 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.8126, allocations: 0.6856 MB / 1.281 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.8126, allocations: 0 / 1.281 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.8128, allocations: 27.97 kB / 1.281 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.8129, allocations: 4 kB / 1.281 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.8129, allocations: 7.938 kB / 1.281 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.8129, allocations: 0 / 1.281 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.8129, allocations: 4 kB / 1.281 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008228/0.8137, allocations: 421 kB / 1.282 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.8139, allocations: 136.8 kB / 1.282 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.8139, allocations: 4 kB / 1.282 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.8141, allocations: 11.98 kB / 1.282 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.432e-05/0.8142, allocations: 19.92 kB / 1.282 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/0.8142, allocations: 11.98 kB / 1.282 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004045/0.8146, allocations: 295.2 kB / 1.282 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8146, allocations: 0 / 1.282 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003889/0.815, allocations: 63.83 kB / 1.282 GB, free: 6.844 MB / 0.9825 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.00264/0.8176, allocations: 1.28 MB / 1.284 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005291/0.8182, allocations: 159.9 kB / 1.284 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.8182, allocations: 0 / 1.284 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002596/0.8184, allocations: 85.95 kB / 1.284 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006467/0.8191, allocations: 102.8 kB / 1.284 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005529/0.8246, allocations: 3.07 MB / 1.287 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.8251, allocations: 0.7951 MB / 1.288 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002165/0.8254, allocations: 50.94 kB / 1.288 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.8256, allocations: 127.4 kB / 1.288 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of SimCode: time 1.022e-06/0.8256, allocations: 0 / 1.288 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03932/0.8649, allocations: 7.575 MB / 1.295 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.707/9.572, allocations: 13.17 kB / 1.295 GB, free: 9.773 MB / 0.9981 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_2/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: 15.912329291924834]