Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_10_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.01871/0.01871, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.002742/0.002742, allocations: 190.1 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 2.678/2.678, 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 10.1.1-maint.10.0.x/package.mo): time 6.218/6.218, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003286/0.003286, allocations: 64.12 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818/1.821, allocations: 151.6 MB / 1.166 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.01477/1.836, allocations: 2.844 MB / 1.169 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004648/1.841, allocations: 1.348 MB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004856/1.845, allocations: 11.94 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000987/1.846, allocations: 143.1 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009656/1.848, allocations: 143.2 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00159/1.849, allocations: 311.6 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001482/1.851, allocations: 479.4 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008112/1.852, allocations: 206.5 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006728/1.852, allocations: 179.2 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000661/1.853, allocations: 195.1 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/1.853, allocations: 36 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/1.853, allocations: 71.97 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002425/1.854, allocations: 99.56 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003368/1.854, allocations: 186.9 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/1.855, allocations: 0.5365 MB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/1.855, allocations: 0 / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.731e-06/1.855, allocations: 8 kB / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.929e-06/1.855, allocations: 0 / 1.173 GB, free: 13.06 MB / 0.9044 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.001961/1.857, allocations: 0.716 MB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/1.857, allocations: 8.922 kB / 1.173 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/1.858, allocations: 62.72 kB / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/1.858, allocations: 52.66 kB / 1.174 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/1.859, allocations: 403 kB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/1.859, allocations: 16.94 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.503e-05/1.859, allocations: 27.94 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000874/1.86, allocations: 283.6 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/1.86, allocations: 4 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/1.86, allocations: 8 kB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/1.86, allocations: 8 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006888/1.861, allocations: 182.1 kB / 1.174 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/1.863, allocations: 0.8765 MB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/1.864, allocations: 227 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/1.864, allocations: 92.81 kB / 1.176 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.871e-05/1.864, allocations: 4 kB / 1.176 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004948/1.865, allocations: 139.3 kB / 1.176 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 3.005e-06/1.865, allocations: 0 / 1.176 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.001109/1.866, allocations: 291.8 kB / 1.176 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/1.866, allocations: 63.33 kB / 1.176 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007145/1.867, allocations: 417.6 kB / 1.176 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/1.867, allocations: 29.7 kB / 1.177 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/1.867, allocations: 212.4 kB / 1.177 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.316e-05/1.867, allocations: 63.48 kB / 1.177 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/1.867, allocations: 49.92 kB / 1.177 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002448/1.868, allocations: 350.7 kB / 1.177 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/1.868, allocations: 72.44 kB / 1.177 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/1.868, allocations: 114 kB / 1.177 GB, free: 8.102 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005951/1.869, allocations: 184.4 kB / 1.178 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/1.869, allocations: 0 / 1.178 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008307/1.87, allocations: 265.2 kB / 1.178 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/1.87, allocations: 11.94 kB / 1.178 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.87, allocations: 0 / 1.178 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.263e-05/1.87, allocations: 4 kB / 1.178 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/1.87, allocations: 47.97 kB / 1.178 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/1.87, allocations: 3.938 kB / 1.178 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/1.87, allocations: 23.77 kB / 1.178 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/1.87, allocations: 15.98 kB / 1.178 GB, free: 7.535 MB / 0.9044 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.0002739/1.871, allocations: 161.9 kB / 1.178 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.705e-05/1.871, allocations: 47.69 kB / 1.178 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/1.871, allocations: 39.59 kB / 1.178 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.871, allocations: 0 / 1.178 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.871, allocations: 0 / 1.178 GB, free: 7.281 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/1.871, allocations: 7.875 kB / 1.178 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/1.872, allocations: 0.6739 MB / 1.179 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.872, allocations: 4 kB / 1.179 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/1.873, allocations: 35.91 kB / 1.179 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/1.873, allocations: 0 / 1.179 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/1.873, allocations: 7.938 kB / 1.179 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/1.873, allocations: 4 kB / 1.179 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.494e-05/1.873, allocations: 4 kB / 1.179 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/1.874, allocations: 425.5 kB / 1.179 GB, free: 6.059 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/1.874, allocations: 132.8 kB / 1.179 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.152e-05/1.874, allocations: 7.984 kB / 1.179 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/1.874, allocations: 4 kB / 1.179 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.547e-05/1.875, allocations: 19.97 kB / 1.179 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.661e-05/1.875, allocations: 8 kB / 1.179 GB, free: 5.871 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004916/1.875, allocations: 291.2 kB / 1.18 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.186e-06/1.875, allocations: 0 / 1.18 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000561/1.876, allocations: 75.81 kB / 1.18 GB, free: 5.52 MB / 0.9044 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.003939/1.88, allocations: 1.26 MB / 1.181 GB, free: 4.395 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009225/1.881, allocations: 190.6 kB / 1.181 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.881, allocations: 0 / 1.181 GB, free: 4.211 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003489/1.881, allocations: 83.91 kB / 1.181 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009245/1.882, allocations: 105 kB / 1.181 GB, free: 4.031 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006489/1.888, allocations: 3.072 MB / 1.184 GB, free: 0.8477 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006919/1.889, allocations: 0.799 MB / 1.185 GB, free: 24 kB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003667/1.89, allocations: 47 kB / 1.185 GB, free: 15.97 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/1.89, allocations: 123.3 kB / 1.185 GB, free: 15.86 MB / 0.92 GB Notification: Performance of SimCode: time 9.92e-07/1.89, allocations: 0 / 1.185 GB, free: 15.86 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1672/2.057, allocations: 7.546 MB / 1.193 GB, free: 8.449 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.05/21.1, allocations: 10.44 kB / 1.193 GB, free: 8.441 MB / 0.92 GB (rm -f Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv --start-time 0 --stop-time 360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.144 Buildings_10_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches