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.001286/0.001286, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001411/0.001411, allocations: 214.4 kB / 23.04 MB, free: 5.074 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.363/3.363, allocations: 0.49 GB / 0.7959 GB, free: 33.4 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_12_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.001924/0.001924, allocations: 70.95 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3957, allocations: 176.1 MB / 1.327 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.005836/0.4015, allocations: 2.886 MB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003287/0.4048, allocations: 1.559 MB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/0.4052, allocations: 15.88 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005702/0.4058, allocations: 147.1 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005162/0.4063, allocations: 187 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007496/0.407, allocations: 283.2 kB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006187/0.4077, allocations: 0.4954 MB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002956/0.408, allocations: 127.1 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000378/0.4083, allocations: 203.1 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002922/0.4086, allocations: 199.1 kB / 1.333 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.737e-05/0.4087, allocations: 40 kB / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.4089, allocations: 87.92 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.409, allocations: 99.61 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.4092, allocations: 182.9 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007942/0.41, allocations: 0.5407 MB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.41, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.41, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.41, allocations: 0 / 1.333 GB, free: 10.89 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.001303/0.4113, allocations: 0.6843 MB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4113, allocations: 8.031 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.164e-05/0.4114, allocations: 12.67 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.748e-05/0.4114, allocations: 58.73 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.4116, allocations: 60.59 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007152/0.4124, allocations: 359.6 kB / 1.335 GB, free: 9.652 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.4124, allocations: 24.62 kB / 1.335 GB, free: 9.629 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.4124, allocations: 24 kB / 1.335 GB, free: 9.605 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005756/0.413, allocations: 266.8 kB / 1.335 GB, free: 9.332 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.413, allocations: 4 kB / 1.335 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.4131, allocations: 12 kB / 1.335 GB, free: 9.316 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.4131, allocations: 4 kB / 1.335 GB, free: 9.312 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.4135, allocations: 185.9 kB / 1.335 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.415, allocations: 0.8376 MB / 1.336 GB, free: 8.234 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000764/0.4158, allocations: 219 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.416, allocations: 88.66 kB / 1.336 GB, free: 7.922 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.416, allocations: 8 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003469/0.4164, allocations: 139.3 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 2.184e-06/0.4164, allocations: 0 / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0007839/0.4171, allocations: 294.4 kB / 1.337 GB, free: 7.473 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.4172, allocations: 59.41 kB / 1.337 GB, free: 7.402 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006328/0.4179, allocations: 429.5 kB / 1.337 GB, free: 6.973 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.4179, allocations: 29.7 kB / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.4181, allocations: 224.3 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/0.4181, allocations: 55.55 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.851e-05/0.4182, allocations: 45.94 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4184, allocations: 354.7 kB / 1.338 GB, free: 6.254 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.4186, allocations: 72.42 kB / 1.338 GB, free: 6.184 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.4188, allocations: 118.8 kB / 1.338 GB, free: 6.051 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.4192, allocations: 186.9 kB / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4192, allocations: 3.938 kB / 1.338 GB, free: 5.848 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006331/0.4199, allocations: 261.2 kB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.4199, allocations: 8.156 kB / 1.338 GB, free: 5.578 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.4199, allocations: 4 kB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.4199, allocations: 3.984 kB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.4201, allocations: 47.92 kB / 1.338 GB, free: 5.523 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.4201, allocations: 11.92 kB / 1.339 GB, free: 5.512 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.4203, allocations: 23.83 kB / 1.339 GB, free: 5.488 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.4203, allocations: 4 kB / 1.339 GB, free: 5.484 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.0002087/0.4205, allocations: 170.8 kB / 1.339 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.868e-05/0.4206, allocations: 47.72 kB / 1.339 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005887/0.4212, allocations: 246.5 kB / 1.339 GB, free: 5.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4212, allocations: 4 kB / 1.339 GB, free: 5.016 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4212, allocations: 3.938 kB / 1.339 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4212, allocations: 0 / 1.339 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001186/0.4224, allocations: 0.6626 MB / 1.34 GB, free: 4.301 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4224, allocations: 0 / 1.34 GB, free: 4.301 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.4226, allocations: 27.97 kB / 1.34 GB, free: 4.273 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.802e-06/0.4226, allocations: 7.938 kB / 1.34 GB, free: 4.266 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.4226, allocations: 7.938 kB / 1.34 GB, free: 4.258 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.4226, allocations: 4 kB / 1.34 GB, free: 4.254 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4226, allocations: 0 / 1.34 GB, free: 4.254 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007779/0.4234, allocations: 422.8 kB / 1.34 GB, free: 3.828 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.4235, allocations: 55.7 kB / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.4235, allocations: 8 kB / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.4237, allocations: 7.984 kB / 1.34 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.703e-05/0.4238, allocations: 19.91 kB / 1.34 GB, free: 3.738 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.4238, allocations: 15.98 kB / 1.34 GB, free: 3.723 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003442/0.4241, allocations: 295.2 kB / 1.34 GB, free: 3.434 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4241, allocations: 4.062 kB / 1.34 GB, free: 3.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000353/0.4245, allocations: 71.77 kB / 1.341 GB, free: 3.359 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.002594/0.4271, allocations: 1.273 MB / 1.342 GB, free: 2.227 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000542/0.4276, allocations: 171.8 kB / 1.342 GB, free: 2.059 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4276, allocations: 0 / 1.342 GB, free: 2.059 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.4278, allocations: 87.89 kB / 1.342 GB, free: 1.973 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006389/0.4285, allocations: 91.31 kB / 1.342 GB, free: 1.887 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004982/0.4335, allocations: 3.109 MB / 1.345 GB, free: 14.66 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.434, allocations: 0.8066 MB / 1.346 GB, free: 13.83 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002021/0.4342, allocations: 42.95 kB / 1.346 GB, free: 13.79 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.4344, allocations: 135.4 kB / 1.346 GB, free: 13.66 MB / 1.045 GB Notification: Performance of SimCode: time 1.402e-06/0.4344, allocations: 0 / 1.346 GB, free: 13.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04414/0.4786, allocations: 7.954 MB / 1.354 GB, free: 5.836 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.11, allocations: 9.484 kB / 1.354 GB, free: 5.828 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: 19.306523325038143]