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.00179/0.00179, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002669/0.002669, allocations: 213.5 kB / 23.03 MB, free: 4.926 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.216/3.216, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.002008/0.002008, allocations: 67.8 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3501, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004932/0.3551, allocations: 2.707 MB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0028/0.3579, allocations: 1.46 MB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003005/0.3582, allocations: 15.94 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004857/0.3587, allocations: 151.1 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005141/0.3592, allocations: 179 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006747/0.3599, allocations: 286.7 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006393/0.3605, allocations: 499.4 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.3608, allocations: 127.1 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003641/0.3611, allocations: 207.2 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003182/0.3615, allocations: 203 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.629e-05/0.3615, allocations: 36 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.3617, allocations: 87.97 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.3618, allocations: 95.58 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.362, allocations: 139.2 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007202/0.3627, allocations: 0.5485 MB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3627, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3627, allocations: 0 / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.3628, allocations: 7.938 kB / 1.333 GB, free: 10.74 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.00132/0.3641, allocations: 0.6804 MB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3641, allocations: 12.03 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.827e-05/0.3641, allocations: 8.672 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.719e-05/0.3642, allocations: 54.73 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.3644, allocations: 60.59 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007034/0.3651, allocations: 363.6 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.3651, allocations: 20.62 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.3652, allocations: 24 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005885/0.3658, allocations: 296.5 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3658, allocations: 0 / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.3658, allocations: 8 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.3658, allocations: 8 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.3663, allocations: 189.9 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.3677, allocations: 0.7713 MB / 1.336 GB, free: 8.129 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007905/0.3685, allocations: 223 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.3687, allocations: 82.39 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.3688, allocations: 7.984 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003349/0.3691, allocations: 137 kB / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 2.275e-06/0.3691, allocations: 0 / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.000785/0.3699, allocations: 302.3 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.3699, allocations: 59.41 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005238/0.3705, allocations: 433.5 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.3705, allocations: 25.7 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.3707, allocations: 224.3 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.307e-05/0.3707, allocations: 63.53 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.51e-05/0.3708, allocations: 53.92 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.371, allocations: 350.7 kB / 1.337 GB, free: 6.137 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.3712, allocations: 68.44 kB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.3714, allocations: 115.7 kB / 1.338 GB, free: 5.941 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/0.3719, allocations: 199.4 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3719, allocations: 0 / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005803/0.3724, allocations: 269.2 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3725, allocations: 4 kB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3725, allocations: 4 kB / 1.338 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3725, allocations: 0 / 1.338 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.3727, allocations: 51.91 kB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.3727, allocations: 7.938 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.3729, allocations: 31.75 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.3729, allocations: 4 kB / 1.338 GB, free: 5.359 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.000195/0.3731, allocations: 176.7 kB / 1.338 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.3732, allocations: 39.72 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006132/0.3738, allocations: 254.8 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.3738, allocations: 4 kB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3738, allocations: 0 / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3738, allocations: 3.938 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3749, allocations: 0.64 MB / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3749, allocations: 0 / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.3751, allocations: 31.97 kB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3751, allocations: 0 / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.3751, allocations: 8 kB / 1.339 GB, free: 4.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.3751, allocations: 3.938 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3751, allocations: 3.938 kB / 1.339 GB, free: 4.148 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008495/0.376, allocations: 436.3 kB / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.3761, allocations: 51.78 kB / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.569e-05/0.3762, allocations: 11.92 kB / 1.34 GB, free: 3.645 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.3763, allocations: 8 kB / 1.34 GB, free: 3.637 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.3764, allocations: 19.97 kB / 1.34 GB, free: 3.617 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.3764, allocations: 7.984 kB / 1.34 GB, free: 3.609 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003946/0.3768, allocations: 311.1 kB / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3768, allocations: 0 / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003818/0.3772, allocations: 67.83 kB / 1.34 GB, free: 3.238 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 (21): * Single equations (assignments): 19 * 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.002883/0.3801, allocations: 1.318 MB / 1.341 GB, free: 2.082 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005099/0.3806, allocations: 167.8 kB / 1.342 GB, free: 1.918 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3806, allocations: 0 / 1.342 GB, free: 1.918 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.3808, allocations: 92.14 kB / 1.342 GB, free: 1.828 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.3815, allocations: 104.8 kB / 1.342 GB, free: 1.734 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004695/0.3861, allocations: 3.127 MB / 1.345 GB, free: 14.5 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.3864, allocations: 199 kB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001776/0.3865, allocations: 42.95 kB / 1.345 GB, free: 14.24 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.3868, allocations: 127.4 kB / 1.345 GB, free: 14.12 MB / 1.045 GB Notification: Performance of SimCode: time 5.21e-07/0.3868, allocations: 3.938 kB / 1.345 GB, free: 14.11 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.4204, allocations: 8.239 MB / 1.353 GB, free: 6.035 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.4, allocations: 1.891 kB / 1.353 GB, free: 6.035 MB / 1.045 GB " [Timeout remaining time 287] (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.368649084004574]