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.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.001942/0.001942, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002516/0.002516, allocations: 216.3 kB / 22.25 MB, free: 5.125 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.934/2.934, allocations: 476.8 MB / 0.7707 GB, free: 4.219 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002024/0.002024, allocations: 66.92 kB / 1.117 GB, free: 39.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2953, allocations: 169.9 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.005272/0.3006, allocations: 2.9 MB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003202/0.3038, allocations: 1.543 MB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000397/0.3042, allocations: 15.88 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005624/0.3048, allocations: 147.1 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007318/0.3055, allocations: 191 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007278/0.3062, allocations: 292.4 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006707/0.3069, allocations: 495.4 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.3072, allocations: 123.2 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004108/0.3076, allocations: 207.1 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003405/0.3079, allocations: 207 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.516e-05/0.308, allocations: 40 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.3083, allocations: 83.97 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.3085, allocations: 95.62 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002018/0.3087, allocations: 186.9 kB / 1.29 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009819/0.3096, allocations: 0.5407 MB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3096, allocations: 0 / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3096, allocations: 0 / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.966e-05/0.3097, allocations: 0 / 1.29 GB, free: 4.535 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.001491/0.3112, allocations: 0.6805 MB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.3112, allocations: 11.97 kB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.26e-05/0.3113, allocations: 58.72 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.3115, allocations: 60.59 kB / 1.291 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007802/0.3123, allocations: 359.6 kB / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.3123, allocations: 16.88 kB / 1.291 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.583e-05/0.3124, allocations: 27.94 kB / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000632/0.313, allocations: 274.7 kB / 1.292 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.313, allocations: 0 / 1.292 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.3131, allocations: 15.98 kB / 1.292 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.3131, allocations: 4 kB / 1.292 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004615/0.3135, allocations: 185.9 kB / 1.292 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.3152, allocations: 0.8337 MB / 1.293 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007731/0.316, allocations: 230.9 kB / 1.293 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.3162, allocations: 84.72 kB / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.3162, allocations: 0 / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000357/0.3166, allocations: 152.6 kB / 1.293 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.3166, allocations: 0 / 1.293 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0007506/0.3173, allocations: 295.5 kB / 1.293 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.3174, allocations: 51.41 kB / 1.293 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000548/0.3179, allocations: 437.5 kB / 1.294 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.318, allocations: 29.7 kB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.3182, allocations: 216.3 kB / 1.294 GB, free: 380 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.27e-05/0.3182, allocations: 63.47 kB / 1.294 GB, free: 316 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.3184, allocations: 49.94 kB / 1.294 GB, free: 260 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.3186, allocations: 354.7 kB / 1.295 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.3188, allocations: 68.44 kB / 1.295 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.319, allocations: 114.8 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.3194, allocations: 189 kB / 1.295 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3194, allocations: 0 / 1.295 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005654/0.32, allocations: 260.5 kB / 1.295 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.32, allocations: 11.98 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.32, allocations: 4.156 kB / 1.295 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.32, allocations: 7.938 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.3203, allocations: 43.97 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3203, allocations: 4 kB / 1.295 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.3205, allocations: 27.77 kB / 1.295 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.3205, allocations: 8 kB / 1.295 GB, free: 15.14 MB / 0.9981 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.0002326/0.3207, allocations: 168 kB / 1.295 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.151e-05/0.3208, allocations: 43.72 kB / 1.295 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005859/0.3214, allocations: 249 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3214, allocations: 4 kB / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.3214, allocations: 3.938 kB / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3214, allocations: 0 / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.3226, allocations: 0.6595 MB / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3226, allocations: 0 / 1.296 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.3227, allocations: 35.97 kB / 1.296 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.3227, allocations: 3.938 kB / 1.296 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.3228, allocations: 4 kB / 1.296 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3228, allocations: 0 / 1.296 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3228, allocations: 0 / 1.296 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008045/0.3236, allocations: 427.1 kB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.3237, allocations: 55.72 kB / 1.297 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.3237, allocations: 7.984 kB / 1.297 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.3239, allocations: 4 kB / 1.297 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.324, allocations: 19.97 kB / 1.297 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.324, allocations: 15.98 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003864/0.3244, allocations: 295.2 kB / 1.297 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3244, allocations: 3.938 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003771/0.3248, allocations: 79.83 kB / 1.297 GB, free: 13.02 MB / 0.9981 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.002658/0.3274, allocations: 1.26 MB / 1.298 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004962/0.3279, allocations: 171.8 kB / 1.299 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3279, allocations: 0 / 1.299 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.3282, allocations: 93.89 kB / 1.299 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005985/0.3288, allocations: 101.1 kB / 1.299 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/0.3334, allocations: 3.098 MB / 1.302 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.3339, allocations: 0.807 MB / 1.303 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001845/0.3341, allocations: 38.97 kB / 1.303 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.3343, allocations: 131.4 kB / 1.303 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of SimCode: time 1.031e-06/0.3343, allocations: 0 / 1.303 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04004/0.3744, allocations: 7.918 MB / 1.311 GB, free: 15.53 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.92, allocations: 10.23 kB / 1.311 GB, free: 15.52 MB / 1.014 GB " [Timeout remaining time 287] (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/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: 18.81448986614123]