Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 193.2 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.078/2.078, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4865/0.4877, allocations: 140.4 MB / 0.9491 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.002982/0.4907, allocations: 2.868 MB / 0.9519 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.4922, allocations: 1.317 MB / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.4923, allocations: 11.88 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003309/0.4927, allocations: 128.7 kB / 0.9533 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.4929, allocations: 122.4 kB / 0.9534 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.4933, allocations: 271.5 kB / 0.9537 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.4936, allocations: 440.7 kB / 0.9541 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.4938, allocations: 197.4 kB / 0.9543 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.494, allocations: 155.9 kB / 0.9544 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.4942, allocations: 184.5 kB / 0.9546 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.955e-05/0.4942, allocations: 16.56 kB / 0.9546 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.916e-05/0.4943, allocations: 53.27 kB / 0.9547 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.4944, allocations: 73 kB / 0.9547 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.4945, allocations: 169.2 kB / 0.9549 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.4948, allocations: 498.5 kB / 0.9554 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.4948, allocations: 0 / 0.9554 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4948, allocations: 3.984 kB / 0.9554 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.4948, allocations: 3.938 kB / 0.9554 GB, free: 4.375 MB / 0.7169 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.0007722/0.4956, allocations: 0.7055 MB / 0.9561 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.4956, allocations: 8.938 kB / 0.9561 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.533e-05/0.4957, allocations: 59.8 kB / 0.9561 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.595e-05/0.4957, allocations: 45.47 kB / 0.9562 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.4961, allocations: 407.7 kB / 0.9566 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.4962, allocations: 17.91 kB / 0.9566 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.4962, allocations: 24.62 kB / 0.9566 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.4966, allocations: 275.3 kB / 0.9569 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4967, allocations: 0 / 0.9569 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.4967, allocations: 10.41 kB / 0.9569 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.4967, allocations: 6.094 kB / 0.9569 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003575/0.4971, allocations: 180.5 kB / 0.957 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009613/0.498, allocations: 0.8744 MB / 0.9579 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000611/0.4986, allocations: 236.9 kB / 0.9581 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.4988, allocations: 88.77 kB / 0.9582 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.4989, allocations: 9.266 kB / 0.9582 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000266/0.4991, allocations: 138.2 kB / 0.9584 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.4991, allocations: 0 / 0.9584 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0005963/0.4997, allocations: 290.3 kB / 0.9586 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.4998, allocations: 57.59 kB / 0.9587 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003382/0.5001, allocations: 419.7 kB / 0.9591 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.5001, allocations: 30.8 kB / 0.9591 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.5002, allocations: 209.8 kB / 0.9593 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.5003, allocations: 63.03 kB / 0.9594 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.5003, allocations: 48.78 kB / 0.9594 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.5004, allocations: 351.4 kB / 0.9598 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.5006, allocations: 70.52 kB / 0.9598 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.5007, allocations: 118.4 kB / 0.9599 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.5011, allocations: 187 kB / 0.9601 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5011, allocations: 0.75 kB / 0.9601 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004406/0.5015, allocations: 254.4 kB / 0.9604 GB, free: 476 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.5015, allocations: 5.219 kB / 0.9604 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5015, allocations: 10 kB / 0.9604 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.5016, allocations: 2.219 kB / 0.9604 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.5018, allocations: 55.19 kB / 0.9604 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.5018, allocations: 2.281 kB / 0.9604 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.5019, allocations: 23.73 kB / 0.9605 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.5019, allocations: 10.16 kB / 0.9605 GB, free: 428 kB / 0.7169 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,reaToInt.y,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEvent,dxSpeCon.not1.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.0001202/0.5021, allocations: 171.7 kB / 0.9606 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.5021, allocations: 36.62 kB / 0.9607 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.764e-05/0.5022, allocations: 40.06 kB / 0.9607 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.5022, allocations: 6.062 kB / 0.9607 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5022, allocations: 7.922 kB / 0.9607 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5022, allocations: 1.125 kB / 0.9607 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008117/0.503, allocations: 0.6707 MB / 0.9614 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.503, allocations: 0 / 0.9614 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.5032, allocations: 35.45 kB / 0.9614 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5032, allocations: 1.156 kB / 0.9614 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.5032, allocations: 9.109 kB / 0.9614 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5032, allocations: 1.188 kB / 0.9614 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5032, allocations: 1.188 kB / 0.9614 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006623/0.5039, allocations: 429.7 kB / 0.9618 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.504, allocations: 133.2 kB / 0.962 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.5041, allocations: 5.031 kB / 0.962 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.5042, allocations: 7.844 kB / 0.962 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.5043, allocations: 20.09 kB / 0.962 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.5043, allocations: 5.406 kB / 0.962 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002566/0.5046, allocations: 298.3 kB / 0.9623 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5046, allocations: 0 / 0.9623 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002955/0.5049, allocations: 58.62 kB / 0.9623 GB, free: 15 MB / 0.7325 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,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,reaToInt.y) * 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.001618/0.5065, allocations: 1.275 MB / 0.9636 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003899/0.5069, allocations: 175.2 kB / 0.9637 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5069, allocations: 0 / 0.9637 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.5071, allocations: 100.8 kB / 0.9638 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000488/0.5076, allocations: 80.02 kB / 0.9639 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.5114, allocations: 3.2 MB / 0.967 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.5117, allocations: 0.7926 MB / 0.9678 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001526/0.5118, allocations: 46.56 kB / 0.9679 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.512, allocations: 126.8 kB / 0.968 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.512, allocations: 0 / 0.968 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.947/4.459, allocations: 7.088 MB / 0.9749 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003924/4.459, allocations: 273.9 kB / 0.9752 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/6.153, allocations: 3.938 kB / 0.9752 GB, free: 6.957 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches