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.001259/0.001259, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 198 kB / 16.53 MB, free: 6.391 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.191/1.191, allocations: 222.9 MB / 240.2 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.235/2.235, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 71.83 kB / 0.8694 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4639, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003947/0.4679, allocations: 2.843 MB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002124/0.47, allocations: 1.352 MB / 1.022 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.4703, allocations: 7.938 kB / 1.022 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004315/0.4707, allocations: 143.2 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.4711, allocations: 139.2 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006607/0.4718, allocations: 299.6 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004928/0.4723, allocations: 487.4 kB / 1.023 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002975/0.4726, allocations: 196.8 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002523/0.4729, allocations: 187.2 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.4731, allocations: 191.1 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.505e-05/0.4732, allocations: 40 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.4734, allocations: 75.97 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-05/0.4735, allocations: 95.62 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.4736, allocations: 182.9 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004857/0.4741, allocations: 0.5061 MB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4741, allocations: 4 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4741, allocations: 3.938 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.4741, allocations: 0 / 1.024 GB, free: 11.8 MB / 0.7794 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.0009349/0.4751, allocations: 0.7065 MB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.4751, allocations: 11.97 kB / 1.025 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.535e-05/0.4752, allocations: 62.72 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.448e-05/0.4753, allocations: 48.38 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.4757, allocations: 402.5 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.4758, allocations: 24.94 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.4758, allocations: 27.94 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004522/0.4763, allocations: 279.7 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.4763, allocations: 3.938 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.4763, allocations: 4 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.4763, allocations: 8 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.4767, allocations: 186.2 kB / 1.026 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.4778, allocations: 0.8725 MB / 1.027 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006536/0.4785, allocations: 239 kB / 1.027 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.4787, allocations: 80.83 kB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.4787, allocations: 7.984 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003058/0.479, allocations: 139.2 kB / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/0.4791, allocations: 0 / 1.027 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.000635/0.4797, allocations: 286.7 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.4797, allocations: 55.41 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003842/0.4801, allocations: 417.6 kB / 1.028 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.4802, allocations: 25.7 kB / 1.028 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.4803, allocations: 216.1 kB / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.4804, allocations: 63.09 kB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.4804, allocations: 53.88 kB / 1.028 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.4805, allocations: 354.7 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.4807, allocations: 68.42 kB / 1.028 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.4809, allocations: 111 kB / 1.029 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.4812, allocations: 192.9 kB / 1.029 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4812, allocations: 0 / 1.029 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004542/0.4817, allocations: 261 kB / 1.029 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.4817, allocations: 5.875 kB / 1.029 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4817, allocations: 0 / 1.029 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4818, allocations: 11.98 kB / 1.029 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.482, allocations: 43.92 kB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.482, allocations: 7.984 kB / 1.029 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.4821, allocations: 23.69 kB / 1.029 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.4821, allocations: 16.16 kB / 1.029 GB, free: 6.285 MB / 0.7794 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.0001411/0.4823, allocations: 172.8 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.4823, allocations: 35.56 kB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.182e-05/0.4824, allocations: 43.58 kB / 1.029 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4824, allocations: 0 / 1.029 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4824, allocations: 4 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4824, allocations: 3.938 kB / 1.029 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008075/0.4832, allocations: 0.6838 MB / 1.03 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.4833, allocations: 0 / 1.03 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.4834, allocations: 31.97 kB / 1.03 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4834, allocations: 0 / 1.03 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.4835, allocations: 11.94 kB / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4835, allocations: 0 / 1.03 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4835, allocations: 3.938 kB / 1.03 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.4841, allocations: 415 kB / 1.03 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.927e-05/0.4842, allocations: 136.5 kB / 1.031 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.4843, allocations: 4 kB / 1.031 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.4844, allocations: 11.98 kB / 1.031 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.4845, allocations: 15.98 kB / 1.031 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.4845, allocations: 7.984 kB / 1.031 GB, free: 4.621 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002506/0.4848, allocations: 299.2 kB / 1.031 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4848, allocations: 0 / 1.031 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002892/0.4851, allocations: 63.84 kB / 1.031 GB, free: 4.27 MB / 0.7794 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.001558/0.4866, allocations: 1.273 MB / 1.032 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004236/0.4871, allocations: 190 kB / 1.032 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4871, allocations: 0 / 1.032 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.4873, allocations: 91.89 kB / 1.032 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.4878, allocations: 89.84 kB / 1.033 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.4911, allocations: 3.101 MB / 1.036 GB, free: 15.57 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.4913, allocations: 0.7951 MB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001485/0.4915, allocations: 46.95 kB / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.4917, allocations: 127.3 kB / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.4917, allocations: 0 / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3188/0.8104, allocations: 7.401 MB / 1.044 GB, free: 7.352 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.856, allocations: 9.375 kB / 1.044 GB, free: 7.348 MB / 0.795 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_10_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 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.mat","/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