Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001314/0.001314, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001573/0.001573, allocations: 223.3 kB / 23.03 MB, free: 4.945 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.206/3.206, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_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.001996/0.001996, allocations: 62.59 kB / 1.17 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3221, allocations: 179 MB / 1.345 GB, free: 4 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004383/0.3265, allocations: 2.708 MB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0025/0.329, allocations: 1.45 MB / 1.349 GB, free: 11.81 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.3292, allocations: 15.88 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004411/0.3297, allocations: 155.1 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.3301, allocations: 187 kB / 1.35 GB, free: 11.46 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005449/0.3306, allocations: 282.5 kB / 1.35 GB, free: 11.19 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005331/0.3312, allocations: 495.4 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.3314, allocations: 123.2 kB / 1.351 GB, free: 10.57 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003033/0.3317, allocations: 207.1 kB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.332, allocations: 207 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.927e-05/0.332, allocations: 36 kB / 1.351 GB, free: 10.13 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.3322, allocations: 83.97 kB / 1.351 GB, free: 10.05 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.3323, allocations: 99.69 kB / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.3325, allocations: 143.1 kB / 1.351 GB, free: 9.812 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006351/0.3331, allocations: 0.5485 MB / 1.352 GB, free: 9.262 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3331, allocations: 0 / 1.352 GB, free: 9.262 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3331, allocations: 0 / 1.352 GB, free: 9.262 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.3331, allocations: 0 / 1.352 GB, free: 9.262 MB / 1.045 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.001106/0.3342, allocations: 0.6727 MB / 1.352 GB, free: 8.555 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3342, allocations: 12.03 kB / 1.352 GB, free: 8.543 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.136e-05/0.3343, allocations: 12.69 kB / 1.352 GB, free: 8.531 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.56e-05/0.3343, allocations: 54.73 kB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.3345, allocations: 60.59 kB / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000622/0.3351, allocations: 355.6 kB / 1.353 GB, free: 8.035 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.3352, allocations: 28.56 kB / 1.353 GB, free: 8.008 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.3352, allocations: 28 kB / 1.353 GB, free: 7.98 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.3358, allocations: 296.4 kB / 1.353 GB, free: 7.672 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3358, allocations: 0 / 1.353 GB, free: 7.672 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.3358, allocations: 12 kB / 1.353 GB, free: 7.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3358, allocations: 4 kB / 1.353 GB, free: 7.656 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004411/0.3363, allocations: 189.9 kB / 1.353 GB, free: 7.469 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.3376, allocations: 0.7753 MB / 1.354 GB, free: 6.645 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00074/0.3383, allocations: 218.9 kB / 1.354 GB, free: 6.422 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.3385, allocations: 92.73 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.3386, allocations: 4 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003147/0.3389, allocations: 135.3 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.3389, allocations: 4 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0007292/0.3396, allocations: 298.7 kB / 1.355 GB, free: 5.879 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.3396, allocations: 51.41 kB / 1.355 GB, free: 5.816 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004911/0.3401, allocations: 441.5 kB / 1.355 GB, free: 5.379 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.3402, allocations: 25.7 kB / 1.355 GB, free: 5.348 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.3403, allocations: 220.3 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.3404, allocations: 59.55 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.394e-05/0.3405, allocations: 57.88 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3406, allocations: 354.7 kB / 1.356 GB, free: 4.652 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.3408, allocations: 64.44 kB / 1.356 GB, free: 4.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.341, allocations: 119.2 kB / 1.356 GB, free: 4.457 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/0.3414, allocations: 194.9 kB / 1.356 GB, free: 4.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3414, allocations: 0 / 1.356 GB, free: 4.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005367/0.342, allocations: 254.5 kB / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.342, allocations: 8 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.342, allocations: 3.938 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.342, allocations: 4 kB / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.3422, allocations: 56.06 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3423, allocations: 3.938 kB / 1.357 GB, free: 3.922 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.3424, allocations: 27.77 kB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.3424, allocations: 12 kB / 1.357 GB, free: 3.883 MB / 1.045 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.0001784/0.3426, allocations: 169.8 kB / 1.357 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.3427, allocations: 35.77 kB / 1.357 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005772/0.3432, allocations: 258.3 kB / 1.357 GB, free: 3.414 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3433, allocations: 4 kB / 1.357 GB, free: 3.41 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3433, allocations: 0 / 1.357 GB, free: 3.41 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3433, allocations: 3.938 kB / 1.357 GB, free: 3.406 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000975/0.3442, allocations: 0.6321 MB / 1.358 GB, free: 2.727 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3442, allocations: 4 kB / 1.358 GB, free: 2.723 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.3444, allocations: 39.91 kB / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3444, allocations: 0 / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.3444, allocations: 0 / 1.358 GB, free: 2.684 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.3445, allocations: 11.94 kB / 1.358 GB, free: 2.672 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3445, allocations: 3.938 kB / 1.358 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007714/0.3452, allocations: 441.2 kB / 1.358 GB, free: 2.223 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.3453, allocations: 51.77 kB / 1.358 GB, free: 2.172 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.3454, allocations: 11.94 kB / 1.358 GB, free: 2.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.3455, allocations: 8 kB / 1.358 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/0.3456, allocations: 19.97 kB / 1.358 GB, free: 2.133 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.3456, allocations: 8.047 kB / 1.358 GB, free: 2.125 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003399/0.346, allocations: 311.1 kB / 1.359 GB, free: 1.824 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.346, allocations: 0 / 1.359 GB, free: 1.824 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003287/0.3463, allocations: 67.78 kB / 1.359 GB, free: 1.758 MB / 1.045 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.002585/0.3489, allocations: 1.311 MB / 1.36 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00045/0.3493, allocations: 177.4 kB / 1.36 GB, free: 448 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3494, allocations: 0 / 1.36 GB, free: 448 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.3496, allocations: 87.83 kB / 1.36 GB, free: 360 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.3501, allocations: 87.25 kB / 1.36 GB, free: 276 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/0.3542, allocations: 3.124 MB / 1.363 GB, free: 13.03 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.3544, allocations: 195 kB / 1.364 GB, free: 12.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001498/0.3546, allocations: 54.95 kB / 1.364 GB, free: 12.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.3548, allocations: 127.4 kB / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.3548, allocations: 0 / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.3861, allocations: 8.239 MB / 1.372 GB, free: 4.543 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.06, allocations: 7.922 kB / 1.372 GB, free: 4.535 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --stepSize=0.144 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.815476107993163]