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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006115/0.006115, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001749/0.001749, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.414/2.414, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 67.89 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7353/0.737, allocations: 159.1 MB / 1.22 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003942/0.741, allocations: 2.833 MB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00208/0.7431, allocations: 1.344 MB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.7433, allocations: 11.94 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004359/0.7438, allocations: 151.1 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.7441, allocations: 139.2 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005553/0.7446, allocations: 309.3 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004721/0.7451, allocations: 479.5 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002929/0.7454, allocations: 194.5 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.7457, allocations: 191.1 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.7459, allocations: 191.1 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/0.746, allocations: 40 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.7461, allocations: 79.97 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.7462, allocations: 91.69 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.7464, allocations: 194.8 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000566/0.7469, allocations: 0.5248 MB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.7469, allocations: 0 / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.443e-06/0.747, allocations: 0 / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.747, allocations: 0 / 1.227 GB, free: 11.3 MB / 0.9512 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.001032/0.748, allocations: 0.7278 MB / 1.227 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.748, allocations: 8.031 kB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.262e-05/0.7481, allocations: 62.72 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.407e-05/0.7482, allocations: 48.59 kB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.7488, allocations: 411 kB / 1.228 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.7488, allocations: 16.94 kB / 1.228 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.7488, allocations: 27.94 kB / 1.228 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.7493, allocations: 275.6 kB / 1.228 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.7494, allocations: 0 / 1.228 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.7494, allocations: 12 kB / 1.228 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.7494, allocations: 4 kB / 1.228 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/0.7498, allocations: 186.2 kB / 1.228 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.751, allocations: 0.8727 MB / 1.229 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006864/0.7517, allocations: 231 kB / 1.229 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.752, allocations: 96.66 kB / 1.23 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.752, allocations: 7.922 kB / 1.23 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002947/0.7523, allocations: 145.5 kB / 1.23 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.7523, allocations: 0 / 1.23 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.000673/0.753, allocations: 285.3 kB / 1.23 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.753, allocations: 55.39 kB / 1.23 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.7535, allocations: 425.5 kB / 1.23 GB, free: 7.242 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.7535, allocations: 29.7 kB / 1.23 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.7537, allocations: 216.3 kB / 1.231 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.7537, allocations: 59.53 kB / 1.231 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.217e-05/0.7538, allocations: 53.92 kB / 1.231 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.754, allocations: 350.7 kB / 1.231 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.7541, allocations: 68.44 kB / 1.231 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.7543, allocations: 110 kB / 1.231 GB, free: 6.328 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.7547, allocations: 191.1 kB / 1.231 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7547, allocations: 0 / 1.231 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004854/0.7552, allocations: 262.6 kB / 1.232 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.7552, allocations: 4 kB / 1.232 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.7553, allocations: 4.156 kB / 1.232 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.7553, allocations: 4 kB / 1.232 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.7555, allocations: 47.91 kB / 1.232 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.7555, allocations: 4 kB / 1.232 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.7556, allocations: 27.77 kB / 1.232 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.7557, allocations: 15.98 kB / 1.232 GB, free: 5.758 MB / 0.9512 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.000159/0.7558, allocations: 158.3 kB / 1.232 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.7559, allocations: 39.75 kB / 1.232 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.952e-05/0.756, allocations: 43.59 kB / 1.232 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.756, allocations: 4 kB / 1.232 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.756, allocations: 0 / 1.232 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.756, allocations: 3.938 kB / 1.232 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009061/0.7569, allocations: 0.6838 MB / 1.233 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7569, allocations: 7.938 kB / 1.233 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.7571, allocations: 27.97 kB / 1.233 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.7571, allocations: 7.938 kB / 1.233 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.7571, allocations: 11.94 kB / 1.233 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.7571, allocations: 0 / 1.233 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7571, allocations: 0 / 1.233 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.7578, allocations: 423.1 kB / 1.233 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.758, allocations: 132.8 kB / 1.233 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.758, allocations: 4.062 kB / 1.233 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.7582, allocations: 15.98 kB / 1.233 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.7582, allocations: 19.97 kB / 1.233 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.7583, allocations: 4 kB / 1.233 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003275/0.7586, allocations: 295.2 kB / 1.234 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7586, allocations: 0 / 1.234 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003002/0.7589, allocations: 67.81 kB / 1.234 GB, free: 3.738 MB / 0.9512 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.002297/0.7612, allocations: 1.261 MB / 1.235 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004257/0.7617, allocations: 185.8 kB / 1.235 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.7617, allocations: 4 kB / 1.235 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.7619, allocations: 87.84 kB / 1.235 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.7624, allocations: 96.53 kB / 1.235 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/0.7662, allocations: 3.07 MB / 1.238 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.7666, allocations: 0.799 MB / 1.239 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.7667, allocations: 42.95 kB / 1.239 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.7669, allocations: 127.4 kB / 1.239 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.7669, allocations: 0 / 1.239 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.942/2.709, allocations: 7.54 MB / 1.247 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.44/33.15, allocations: 16.67 kB / 1.247 GB, free: 6.719 MB / 0.9669 GB (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 --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) 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) Reference file matches