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.0009168/0.0009169, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007521/0.007521, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.225/1.225, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.145/2.145, allocations: 390.9 MB / 0.6664 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 12.28 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6241/0.6244, allocations: 142.4 MB / 0.9552 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.002692/0.6272, allocations: 2.489 MB / 0.9576 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.629, allocations: 1.292 MB / 0.9589 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.6292, allocations: 12.06 kB / 0.9589 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.6296, allocations: 128.1 kB / 0.959 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.6298, allocations: 114.5 kB / 0.9591 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.6304, allocations: 272 kB / 0.9594 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.6307, allocations: 440.8 kB / 0.9598 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.631, allocations: 196.5 kB / 0.96 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.6312, allocations: 138.2 kB / 0.9601 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.6314, allocations: 159.2 kB / 0.9603 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.6314, allocations: 7.75 kB / 0.9603 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.6315, allocations: 49.34 kB / 0.9603 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.497e-05/0.6316, allocations: 57.55 kB / 0.9604 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.6317, allocations: 174.7 kB / 0.9605 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.6321, allocations: 481.8 kB / 0.961 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6321, allocations: 0.9062 kB / 0.961 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6321, allocations: 0 / 0.961 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.6321, allocations: 0.7188 kB / 0.961 GB, free: 3.402 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.0008468/0.633, allocations: 0.6446 MB / 0.9616 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.633, allocations: 13.41 kB / 0.9616 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.324e-05/0.6331, allocations: 54.27 kB / 0.9617 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.27e-05/0.6332, allocations: 43 kB / 0.9617 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.6336, allocations: 407.6 kB / 0.9621 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.6337, allocations: 18.72 kB / 0.9621 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.6337, allocations: 24.06 kB / 0.9622 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004772/0.6342, allocations: 273.6 kB / 0.9624 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.6342, allocations: 0 / 0.9624 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.6343, allocations: 10.22 kB / 0.9624 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.6343, allocations: 9.719 kB / 0.9624 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.6347, allocations: 188.2 kB / 0.9626 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.6358, allocations: 0.8849 MB / 0.9635 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/0.6365, allocations: 240.2 kB / 0.9637 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.6367, allocations: 89.64 kB / 0.9638 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.6367, allocations: 2.406 kB / 0.9638 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003164/0.637, allocations: 146.4 kB / 0.9639 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.637, allocations: 0 / 0.9639 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.000635/0.6377, allocations: 301.1 kB / 0.9642 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.6377, allocations: 54.88 kB / 0.9643 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.6381, allocations: 409.5 kB / 0.9647 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.6381, allocations: 35.05 kB / 0.9647 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.6382, allocations: 213.6 kB / 0.9649 GB, free: 352 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.6383, allocations: 66.86 kB / 0.965 GB, free: 292 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.6383, allocations: 30.11 kB / 0.965 GB, free: 264 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.6384, allocations: 351.8 kB / 0.9653 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.6386, allocations: 69.03 kB / 0.9654 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.6388, allocations: 115.8 kB / 0.9655 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.6392, allocations: 187.6 kB / 0.9657 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6392, allocations: 1.375 kB / 0.9657 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000507/0.6397, allocations: 265.5 kB / 0.966 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.6398, allocations: 5 kB / 0.966 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.6398, allocations: 2.188 kB / 0.966 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.6398, allocations: 5.875 kB / 0.966 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.64, allocations: 48.62 kB / 0.966 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.64, allocations: 2.125 kB / 0.966 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.6402, allocations: 33.28 kB / 0.966 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.6402, allocations: 14.17 kB / 0.9661 GB, free: 15.48 MB / 0.7325 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.0001733/0.6404, allocations: 164.5 kB / 0.9662 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.6404, allocations: 35.69 kB / 0.9662 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.607e-05/0.6405, allocations: 44.42 kB / 0.9663 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.6405, allocations: 5.75 kB / 0.9663 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.6406, allocations: 0 / 0.9663 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.6406, allocations: 8.688 kB / 0.9663 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009126/0.6415, allocations: 0.681 MB / 0.967 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6415, allocations: 0 / 0.967 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.6417, allocations: 39.94 kB / 0.967 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6417, allocations: 0.9688 kB / 0.967 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.6417, allocations: 10.03 kB / 0.967 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.6417, allocations: 0.9688 kB / 0.967 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6417, allocations: 0 / 0.967 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007182/0.6425, allocations: 430.5 kB / 0.9674 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.6426, allocations: 132.9 kB / 0.9676 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.6426, allocations: 2 kB / 0.9676 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.6428, allocations: 13.23 kB / 0.9676 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.6429, allocations: 20.22 kB / 0.9676 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.6429, allocations: 4.781 kB / 0.9676 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003042/0.6432, allocations: 292.9 kB / 0.9679 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6432, allocations: 1.188 kB / 0.9679 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003389/0.6436, allocations: 67.39 kB / 0.9679 GB, free: 14.07 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.001822/0.6454, allocations: 1.271 MB / 0.9692 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004448/0.6458, allocations: 178.4 kB / 0.9693 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6459, allocations: 0.9688 kB / 0.9694 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.6461, allocations: 98.67 kB / 0.9694 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.6467, allocations: 83.34 kB / 0.9695 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.6509, allocations: 3.233 MB / 0.9727 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.6512, allocations: 0.7919 MB / 0.9735 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000184/0.6514, allocations: 54.78 kB / 0.9735 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.6516, allocations: 122.4 kB / 0.9736 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/0.6516, allocations: 0 / 0.9736 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.6716, allocations: 6.873 MB / 0.9803 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002619/0.6719, allocations: 271.8 kB / 0.9806 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.462, allocations: 0 / 0.9806 GB, free: 5.152 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