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.00138/0.00138, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002282/0.002282, allocations: 206.4 kB / 22.24 MB, free: 5.262 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.742 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.226/3.226, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_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.002086/0.002086, allocations: 67.81 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3626, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004817/0.3674, allocations: 2.721 MB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002836/0.3703, allocations: 1.446 MB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.3706, allocations: 15.88 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005449/0.3711, allocations: 151.1 kB / 1.368 GB, free: 9.785 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004844/0.3716, allocations: 191 kB / 1.368 GB, free: 9.598 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006385/0.3723, allocations: 286.2 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005687/0.3728, allocations: 483.4 kB / 1.369 GB, free: 8.844 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.3731, allocations: 123.1 kB / 1.369 GB, free: 8.715 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.3734, allocations: 203.1 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.3737, allocations: 195 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.455e-05/0.3738, allocations: 40 kB / 1.369 GB, free: 8.285 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.3739, allocations: 79.98 kB / 1.369 GB, free: 8.207 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.3741, allocations: 99.62 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.3742, allocations: 143.1 kB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000747/0.375, allocations: 0.5484 MB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.375, allocations: 0 / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.383e-06/0.375, allocations: 0 / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.375, allocations: 4 kB / 1.37 GB, free: 7.414 MB / 1.061 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.001273/0.3762, allocations: 0.6805 MB / 1.371 GB, free: 6.699 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3763, allocations: 12.02 kB / 1.371 GB, free: 6.688 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.68e-05/0.3764, allocations: 62.67 kB / 1.371 GB, free: 6.617 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.3766, allocations: 60.59 kB / 1.371 GB, free: 6.559 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007304/0.3773, allocations: 351.7 kB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.3774, allocations: 20.88 kB / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.3774, allocations: 27.94 kB / 1.371 GB, free: 6.145 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.378, allocations: 300.4 kB / 1.371 GB, free: 5.836 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.378, allocations: 0 / 1.371 GB, free: 5.836 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.378, allocations: 12 kB / 1.371 GB, free: 5.824 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.378, allocations: 4 kB / 1.371 GB, free: 5.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004735/0.3785, allocations: 189.9 kB / 1.372 GB, free: 5.633 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.38, allocations: 0.7675 MB / 1.372 GB, free: 4.809 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007774/0.3808, allocations: 222.9 kB / 1.373 GB, free: 4.582 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.381, allocations: 87.16 kB / 1.373 GB, free: 4.496 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.381, allocations: 8 kB / 1.373 GB, free: 4.488 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003454/0.3814, allocations: 135.3 kB / 1.373 GB, free: 4.344 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 2.074e-06/0.3814, allocations: 0 / 1.373 GB, free: 4.344 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.000781/0.3822, allocations: 294.7 kB / 1.373 GB, free: 4.051 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.3822, allocations: 55.34 kB / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005489/0.3827, allocations: 437.5 kB / 1.373 GB, free: 3.547 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.3828, allocations: 33.7 kB / 1.374 GB, free: 3.508 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.383, allocations: 220.3 kB / 1.374 GB, free: 3.289 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.759e-05/0.383, allocations: 67.42 kB / 1.374 GB, free: 3.223 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/0.3831, allocations: 57.86 kB / 1.374 GB, free: 3.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3833, allocations: 350.7 kB / 1.374 GB, free: 2.809 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.3835, allocations: 68.44 kB / 1.374 GB, free: 2.742 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.3837, allocations: 122 kB / 1.374 GB, free: 2.605 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.3842, allocations: 186 kB / 1.375 GB, free: 2.406 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3842, allocations: 0 / 1.375 GB, free: 2.406 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005595/0.3847, allocations: 266.8 kB / 1.375 GB, free: 2.141 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3847, allocations: 4.156 kB / 1.375 GB, free: 2.137 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3848, allocations: 4 kB / 1.375 GB, free: 2.133 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3848, allocations: 4 kB / 1.375 GB, free: 2.129 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.385, allocations: 51.84 kB / 1.375 GB, free: 2.078 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.385, allocations: 0 / 1.375 GB, free: 2.078 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.3852, allocations: 31.81 kB / 1.375 GB, free: 2.047 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.3852, allocations: 11.94 kB / 1.375 GB, free: 2.035 MB / 1.061 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.0001959/0.3854, allocations: 170.9 kB / 1.375 GB, free: 1.859 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.3855, allocations: 35.77 kB / 1.375 GB, free: 1.824 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006157/0.3861, allocations: 267.2 kB / 1.375 GB, free: 1.562 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3861, allocations: 4 kB / 1.375 GB, free: 1.559 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3861, allocations: 0 / 1.375 GB, free: 1.559 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3861, allocations: 0 / 1.375 GB, free: 1.559 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.3872, allocations: 0.6381 MB / 1.376 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3872, allocations: 0 / 1.376 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.3874, allocations: 35.97 kB / 1.376 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3874, allocations: 0 / 1.376 GB, free: 0.8359 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.3874, allocations: 4 kB / 1.376 GB, free: 0.832 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.3874, allocations: 4 kB / 1.376 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3874, allocations: 3.938 kB / 1.376 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/0.3882, allocations: 438 kB / 1.376 GB, free: 392 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.3883, allocations: 59.66 kB / 1.377 GB, free: 332 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.3884, allocations: 4 kB / 1.377 GB, free: 328 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.3885, allocations: 16 kB / 1.377 GB, free: 312 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.3886, allocations: 19.97 kB / 1.377 GB, free: 292 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.3886, allocations: 7.984 kB / 1.377 GB, free: 284 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003887/0.389, allocations: 307.2 kB / 1.377 GB, free: 15.97 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.389, allocations: 0 / 1.377 GB, free: 15.97 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003442/0.3894, allocations: 59.89 kB / 1.377 GB, free: 15.91 MB / 1.076 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.002701/0.3921, allocations: 1.322 MB / 1.378 GB, free: 14.76 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004931/0.3926, allocations: 167.9 kB / 1.378 GB, free: 14.59 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3926, allocations: 0 / 1.378 GB, free: 14.59 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.3928, allocations: 98.2 kB / 1.378 GB, free: 14.5 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000588/0.3934, allocations: 99.36 kB / 1.379 GB, free: 14.41 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/0.398, allocations: 3.115 MB / 1.382 GB, free: 11.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.3982, allocations: 203 kB / 1.382 GB, free: 10.96 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002151/0.3984, allocations: 46.95 kB / 1.382 GB, free: 10.92 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.3986, allocations: 131.4 kB / 1.382 GB, free: 10.79 MB / 1.076 GB Notification: Performance of SimCode: time 1.092e-06/0.3986, allocations: 0 / 1.382 GB, free: 10.79 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04086/0.4395, allocations: 8.548 MB / 1.39 GB, free: 2.367 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.62, allocations: 9.469 kB / 1.39 GB, free: 2.359 MB / 1.076 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.348901552148163]