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.00122/0.00122, 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.001127/0.001127, allocations: 194.2 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.219/1.219, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.324/2.324, allocations: 437 MB / 0.7104 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 67.89 kB / 0.8694 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4849/0.4861, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003901/0.49, allocations: 2.832 MB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.4921, allocations: 1.352 MB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.4923, allocations: 11.94 kB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004165/0.4928, allocations: 143.2 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.4931, allocations: 139.2 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005901/0.4937, allocations: 299.2 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.4942, allocations: 483.4 kB / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/0.4944, allocations: 200.8 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.4947, allocations: 191.2 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.4949, allocations: 191.1 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.495, allocations: 40 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.4951, allocations: 75.97 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.4952, allocations: 91.64 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.4953, allocations: 186.9 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.4958, allocations: 0.5139 MB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4958, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4958, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.4958, allocations: 0 / 1.024 GB, free: 11.71 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.0009354/0.4968, allocations: 0.7049 MB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.4968, allocations: 12.03 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.4969, allocations: 58.72 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.327e-05/0.497, allocations: 52.25 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.4974, allocations: 398.6 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.4975, allocations: 20.92 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.4975, allocations: 27.94 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.498, allocations: 279.6 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.498, allocations: 0 / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.498, allocations: 12 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4981, allocations: 4 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.4984, allocations: 186.2 kB / 1.026 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.4996, allocations: 0.8802 MB / 1.027 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006814/0.5003, allocations: 231 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.5005, allocations: 92.77 kB / 1.027 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.5005, allocations: 3.938 kB / 1.027 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002951/0.5008, allocations: 144.8 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.5009, allocations: 0 / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0006425/0.5015, allocations: 286.7 kB / 1.027 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.5015, allocations: 51.41 kB / 1.027 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.5019, allocations: 417.5 kB / 1.028 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.5019, allocations: 33.7 kB / 1.028 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.5021, allocations: 212.1 kB / 1.028 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.5021, allocations: 63.09 kB / 1.028 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.069e-05/0.5022, allocations: 49.94 kB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5023, allocations: 350.7 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.5025, allocations: 72.42 kB / 1.028 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.5027, allocations: 116.1 kB / 1.029 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.503, allocations: 188.2 kB / 1.029 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.503, allocations: 0 / 1.029 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004768/0.5035, allocations: 261.1 kB / 1.029 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.5035, allocations: 4 kB / 1.029 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.5036, allocations: 4 kB / 1.029 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.5036, allocations: 0 / 1.029 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.5038, allocations: 47.91 kB / 1.029 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.5038, allocations: 4 kB / 1.029 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.504, allocations: 31.67 kB / 1.029 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.504, allocations: 4 kB / 1.029 GB, free: 6.215 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.0001449/0.5041, allocations: 180.2 kB / 1.029 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.5042, allocations: 31.62 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.808e-05/0.5043, allocations: 43.58 kB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.5043, allocations: 7.984 kB / 1.029 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.5043, allocations: 0 / 1.029 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.5043, allocations: 3.938 kB / 1.029 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008172/0.5051, allocations: 0.6777 MB / 1.03 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5051, allocations: 12 kB / 1.03 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.5053, allocations: 23.98 kB / 1.03 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5053, allocations: 3.938 kB / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.5053, allocations: 15.92 kB / 1.03 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5053, allocations: 0 / 1.03 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5053, allocations: 0 / 1.03 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006447/0.506, allocations: 420.7 kB / 1.03 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.957e-05/0.5061, allocations: 132.5 kB / 1.031 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.5061, allocations: 4 kB / 1.031 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.5063, allocations: 11.98 kB / 1.031 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.5064, allocations: 15.98 kB / 1.031 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.5064, allocations: 7.984 kB / 1.031 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002547/0.5067, allocations: 299.1 kB / 1.031 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5067, allocations: 0 / 1.031 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003018/0.507, allocations: 67.91 kB / 1.031 GB, free: 4.184 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.001608/0.5086, allocations: 1.262 MB / 1.032 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004223/0.509, allocations: 190.2 kB / 1.032 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.509, allocations: 0 / 1.032 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.5092, allocations: 91.89 kB / 1.032 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.5097, allocations: 91.91 kB / 1.033 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.5131, allocations: 3.093 MB / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.5134, allocations: 0.799 MB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001547/0.5136, allocations: 46.94 kB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.5137, allocations: 127.4 kB / 1.037 GB, free: 14.5 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.5137, allocations: 0 / 1.037 GB, free: 14.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.5372, allocations: 7.413 MB / 1.044 GB, free: 7.273 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/7.258, allocations: 3.938 kB / 1.044 GB, free: 7.27 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 & 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