Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_9_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.004526/0.004526, allocations: 100.9 kB / 15.73 MB, free: 6.473 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.001077/0.001077, allocations: 195 kB / 16.67 MB, free: 6.379 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.3 MB / 0.6648 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 66.67 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2254, allocations: 140.4 MB / 1.087 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004004/0.2295, allocations: 2.826 MB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002175/0.2317, allocations: 1.348 MB / 1.092 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002928/0.232, allocations: 11.94 kB / 1.092 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.2325, allocations: 151.2 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.2328, allocations: 147.2 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006519/0.2335, allocations: 296.7 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005045/0.234, allocations: 487.4 kB / 1.093 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.2343, allocations: 205.3 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.2346, allocations: 187.1 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.2348, allocations: 191.1 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.877e-05/0.2349, allocations: 36 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.2351, allocations: 79.98 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.2352, allocations: 95.56 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.2353, allocations: 186.9 kB / 1.094 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000556/0.2359, allocations: 0.5341 MB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2359, allocations: 0 / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2359, allocations: 0 / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.2359, allocations: 0 / 1.094 GB, free: 11.29 MB / 0.8575 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.001075/0.237, allocations: 0.7048 MB / 1.095 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.237, allocations: 12.03 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.307e-05/0.2371, allocations: 58.73 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.221e-05/0.2372, allocations: 40.47 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/0.2378, allocations: 414.3 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.2378, allocations: 20.56 kB / 1.095 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.222e-05/0.2379, allocations: 20 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004848/0.2384, allocations: 275.7 kB / 1.096 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2384, allocations: 0 / 1.096 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.048e-05/0.2385, allocations: 8 kB / 1.096 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.2385, allocations: 11.94 kB / 1.096 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004145/0.2389, allocations: 182.1 kB / 1.096 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.2402, allocations: 0.8763 MB / 1.097 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006814/0.2408, allocations: 228.5 kB / 1.097 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.2411, allocations: 88.81 kB / 1.097 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.2411, allocations: 8 kB / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002789/0.2414, allocations: 131.3 kB / 1.097 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.2414, allocations: 3.938 kB / 1.097 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.000673/0.2421, allocations: 298.5 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.2421, allocations: 51.41 kB / 1.097 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.2425, allocations: 409.7 kB / 1.098 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.2426, allocations: 33.69 kB / 1.098 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.2427, allocations: 212 kB / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.2428, allocations: 71.09 kB / 1.098 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.2428, allocations: 49.94 kB / 1.098 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.243, allocations: 350.7 kB / 1.098 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.2431, allocations: 64.44 kB / 1.098 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.2433, allocations: 114 kB / 1.099 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.2437, allocations: 193.1 kB / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2437, allocations: 0 / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004892/0.2442, allocations: 257 kB / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2443, allocations: 4 kB / 1.099 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2443, allocations: 4 kB / 1.099 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2443, allocations: 0 / 1.099 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.2445, allocations: 55.84 kB / 1.099 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.2445, allocations: 4 kB / 1.099 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.2447, allocations: 23.98 kB / 1.099 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.2447, allocations: 11.94 kB / 1.099 GB, free: 5.793 MB / 0.8575 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.0001577/0.2449, allocations: 173.2 kB / 1.099 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.2449, allocations: 35.53 kB / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.111e-05/0.245, allocations: 39.59 kB / 1.099 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.245, allocations: 11.94 kB / 1.099 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.245, allocations: 0 / 1.099 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.245, allocations: 3.984 kB / 1.099 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008756/0.2459, allocations: 0.6757 MB / 1.1 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2459, allocations: 0 / 1.1 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.2461, allocations: 43.84 kB / 1.1 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2461, allocations: 3.984 kB / 1.1 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.2461, allocations: 4 kB / 1.1 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2462, allocations: 0 / 1.1 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2462, allocations: 0 / 1.1 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/0.2468, allocations: 422.9 kB / 1.1 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.247, allocations: 132.6 kB / 1.101 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.247, allocations: 11.98 kB / 1.101 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.2472, allocations: 4 kB / 1.101 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.2473, allocations: 19.97 kB / 1.101 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.2473, allocations: 8 kB / 1.101 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002889/0.2476, allocations: 299.2 kB / 1.101 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2476, allocations: 0 / 1.101 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003285/0.2479, allocations: 67.67 kB / 1.101 GB, free: 3.766 MB / 0.8575 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.001712/0.2496, allocations: 1.263 MB / 1.102 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004469/0.2501, allocations: 175.8 kB / 1.102 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2501, allocations: 0 / 1.102 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.2503, allocations: 91.89 kB / 1.102 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.2508, allocations: 97.52 kB / 1.103 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003764/0.2546, allocations: 3.053 MB / 1.106 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.255, allocations: 0.7951 MB / 1.106 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.2551, allocations: 46.94 kB / 1.106 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.2553, allocations: 127.4 kB / 1.107 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of SimCode: time 3.9e-07/0.2553, allocations: 0 / 1.107 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.2807, allocations: 7.525 MB / 1.114 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/7.804, allocations: 4.062 kB / 1.114 GB, free: 6.738 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches