Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00178/0.00178, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00218/0.00218, allocations: 211.3 kB / 22.25 MB, free: 5.086 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.241/3.241, allocations: 0.49 GB / 0.7951 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_12_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.001988/0.001988, allocations: 62.38 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3252, allocations: 176.1 MB / 1.326 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.005193/0.3304, allocations: 2.894 MB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003243/0.3336, allocations: 1.559 MB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004225/0.334, allocations: 15.88 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.3346, allocations: 147.1 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000665/0.3353, allocations: 187 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007896/0.3361, allocations: 283.1 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007355/0.3368, allocations: 495.4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.3371, allocations: 127.1 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004455/0.3376, allocations: 203.1 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003612/0.3379, allocations: 199 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.621e-05/0.338, allocations: 43.98 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.3382, allocations: 83.98 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.3384, allocations: 99.56 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.3386, allocations: 194.9 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008577/0.3394, allocations: 0.5368 MB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3394, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3394, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.252e-05/0.3394, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 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.001403/0.3409, allocations: 0.6859 MB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3409, allocations: 11.97 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.213e-05/0.341, allocations: 58.73 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.3412, allocations: 60.59 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007356/0.3419, allocations: 351.7 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.342, allocations: 16.88 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.342, allocations: 35.88 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.3426, allocations: 266.8 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3426, allocations: 7.938 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.3426, allocations: 11.98 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.3426, allocations: 8 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004541/0.3431, allocations: 181.9 kB / 1.334 GB, free: 9.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.3446, allocations: 0.8376 MB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007795/0.3454, allocations: 219 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.3456, allocations: 88.72 kB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.3456, allocations: 4 kB / 1.335 GB, free: 7.969 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003402/0.346, allocations: 139.3 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 2.845e-06/0.346, allocations: 4 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0008073/0.3468, allocations: 294.6 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.3468, allocations: 55.41 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005338/0.3474, allocations: 425.5 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.3474, allocations: 33.7 kB / 1.336 GB, free: 6.992 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.3476, allocations: 216.3 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/0.3477, allocations: 59.53 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.2e-05/0.3478, allocations: 53.94 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.348, allocations: 354.7 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.3482, allocations: 68.44 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.3484, allocations: 119 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.3488, allocations: 190.3 kB / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3488, allocations: 0 / 1.337 GB, free: 5.902 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005611/0.3494, allocations: 263.2 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.3494, allocations: 11.98 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3494, allocations: 0 / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.3494, allocations: 4 kB / 1.338 GB, free: 5.625 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.3496, allocations: 47.97 kB / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.3496, allocations: 11.88 kB / 1.338 GB, free: 5.566 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.3498, allocations: 31.92 kB / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.3498, allocations: 8 kB / 1.338 GB, free: 5.527 MB / 1.029 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.0002025/0.35, allocations: 163.9 kB / 1.338 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.3501, allocations: 51.59 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005938/0.3507, allocations: 246.6 kB / 1.338 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3507, allocations: 4 kB / 1.338 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.3507, allocations: 3.938 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.3507, allocations: 0 / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.3518, allocations: 0.6556 MB / 1.339 GB, free: 4.355 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.3518, allocations: 3.984 kB / 1.339 GB, free: 4.352 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.352, allocations: 27.98 kB / 1.339 GB, free: 4.324 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.352, allocations: 3.938 kB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.352, allocations: 12 kB / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.352, allocations: 0 / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.352, allocations: 0 / 1.339 GB, free: 4.309 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007949/0.3528, allocations: 427.1 kB / 1.339 GB, free: 3.875 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.3529, allocations: 55.7 kB / 1.339 GB, free: 3.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.353, allocations: 7.984 kB / 1.339 GB, free: 3.812 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.3531, allocations: 8.062 kB / 1.339 GB, free: 3.805 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.3532, allocations: 19.97 kB / 1.339 GB, free: 3.785 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.3532, allocations: 11.98 kB / 1.339 GB, free: 3.773 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003454/0.3536, allocations: 299.2 kB / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3536, allocations: 0 / 1.34 GB, free: 3.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003534/0.3539, allocations: 71.77 kB / 1.34 GB, free: 3.41 MB / 1.029 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.002543/0.3565, allocations: 1.278 MB / 1.341 GB, free: 2.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004957/0.357, allocations: 167.8 kB / 1.341 GB, free: 2.105 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.357, allocations: 4.312 kB / 1.341 GB, free: 2.102 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.3572, allocations: 89.78 kB / 1.341 GB, free: 2.016 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/0.3578, allocations: 85.61 kB / 1.341 GB, free: 1.938 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004726/0.3625, allocations: 3.107 MB / 1.344 GB, free: 14.72 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004919/0.363, allocations: 0.8027 MB / 1.345 GB, free: 13.89 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001943/0.3632, allocations: 46.95 kB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.3634, allocations: 139.3 kB / 1.345 GB, free: 13.7 MB / 1.045 GB Notification: Performance of SimCode: time 7.31e-07/0.3634, allocations: 0 / 1.345 GB, free: 13.7 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04198/0.4054, allocations: 7.918 MB / 1.353 GB, free: 5.898 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.01, allocations: 4.125 kB / 1.353 GB, free: 5.898 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_12_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --stepSize=0.144 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.762887276010588]