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.004595/0.004595, allocations: 107.4 kB / 15.74 MB, free: 6.02 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.001243/0.001243, allocations: 193.6 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.693/2.693, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 63.91 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6353/0.6373, allocations: 159.1 MB / 1.22 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004345/0.6417, allocations: 2.826 MB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.644, allocations: 1.344 MB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.6442, allocations: 11.94 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.6447, allocations: 147.2 kB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.645, allocations: 143.2 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.6457, allocations: 308.1 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005267/0.6462, allocations: 475.4 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.6465, allocations: 202.5 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.6468, allocations: 191.1 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.6471, allocations: 187.2 kB / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.92e-05/0.6471, allocations: 36 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.6473, allocations: 87.91 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.6474, allocations: 87.7 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.6476, allocations: 186.8 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006433/0.6483, allocations: 0.5327 MB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6483, allocations: 0 / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6483, allocations: 0 / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.6483, allocations: 0 / 1.227 GB, free: 11.32 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.001131/0.6494, allocations: 0.7238 MB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.6495, allocations: 8.031 kB / 1.227 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.592e-05/0.6495, allocations: 62.72 kB / 1.227 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.167e-05/0.6496, allocations: 48.66 kB / 1.228 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006112/0.6502, allocations: 410.9 kB / 1.228 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.6503, allocations: 20.94 kB / 1.228 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/0.6503, allocations: 27.94 kB / 1.228 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.6509, allocations: 275.7 kB / 1.228 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.6509, allocations: 0 / 1.228 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.651, allocations: 8 kB / 1.228 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.651, allocations: 8 kB / 1.228 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.6514, allocations: 186.1 kB / 1.228 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.6528, allocations: 0.8766 MB / 1.229 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007665/0.6536, allocations: 223 kB / 1.229 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000217/0.6538, allocations: 102.7 kB / 1.23 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.6538, allocations: 4 kB / 1.23 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003153/0.6542, allocations: 145.6 kB / 1.23 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.6542, allocations: 0 / 1.23 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.0007374/0.6549, allocations: 289.3 kB / 1.23 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.655, allocations: 55.41 kB / 1.23 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004728/0.6554, allocations: 417.5 kB / 1.23 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.6555, allocations: 29.7 kB / 1.23 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.6557, allocations: 216.3 kB / 1.231 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.117e-05/0.6557, allocations: 63.52 kB / 1.231 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.6558, allocations: 45.94 kB / 1.231 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.656, allocations: 362.7 kB / 1.231 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.6562, allocations: 64.42 kB / 1.231 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.6564, allocations: 118 kB / 1.231 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.6568, allocations: 183.1 kB / 1.231 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6569, allocations: 0 / 1.231 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005534/0.6574, allocations: 265.2 kB / 1.232 GB, free: 5.879 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.6574, allocations: 8 kB / 1.232 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6574, allocations: 0 / 1.232 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.6575, allocations: 4 kB / 1.232 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.6577, allocations: 47.91 kB / 1.232 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.6577, allocations: 0 / 1.232 GB, free: 5.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.6579, allocations: 31.75 kB / 1.232 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.6579, allocations: 8 kB / 1.232 GB, free: 5.781 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.0001793/0.6581, allocations: 177.3 kB / 1.232 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.6582, allocations: 35.77 kB / 1.232 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.444e-05/0.6582, allocations: 39.59 kB / 1.232 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6583, allocations: 0 / 1.232 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6583, allocations: 0 / 1.232 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.6583, allocations: 11.92 kB / 1.232 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.6593, allocations: 0.6914 MB / 1.233 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6593, allocations: 0 / 1.233 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.6595, allocations: 27.98 kB / 1.233 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6595, allocations: 0 / 1.233 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.6596, allocations: 15.92 kB / 1.233 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.6596, allocations: 0 / 1.233 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6596, allocations: 0 / 1.233 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007825/0.6604, allocations: 424.8 kB / 1.233 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.6605, allocations: 128.8 kB / 1.233 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.6605, allocations: 12 kB / 1.233 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.6607, allocations: 11.98 kB / 1.233 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.6608, allocations: 11.98 kB / 1.233 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.6608, allocations: 11.98 kB / 1.233 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003364/0.6612, allocations: 291.2 kB / 1.234 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6612, allocations: 4.062 kB / 1.234 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003267/0.6615, allocations: 63.83 kB / 1.234 GB, free: 3.758 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.002487/0.664, allocations: 1.286 MB / 1.235 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004698/0.6645, allocations: 167.9 kB / 1.235 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6645, allocations: 7.875 kB / 1.235 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.6647, allocations: 91.89 kB / 1.235 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.6653, allocations: 94.56 kB / 1.235 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/0.6695, allocations: 3.064 MB / 1.238 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.6699, allocations: 0.8029 MB / 1.239 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.6701, allocations: 38.97 kB / 1.239 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.6703, allocations: 131.4 kB / 1.239 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.6703, allocations: 4 kB / 1.239 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0309/0.7012, allocations: 7.532 MB / 1.247 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.629, allocations: 19.8 kB / 1.247 GB, free: 6.73 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv --start-time 0 --stop-time 360 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.144 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.csv","/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