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.006844/0.006844, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001665/0.001665, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.19/2.19, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001319, allocations: 61.38 kB / 0.9504 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2254, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003875/0.2293, allocations: 2.818 MB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.2314, allocations: 1.352 MB / 1.092 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002837/0.2318, allocations: 15.94 kB / 1.092 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004375/0.2322, allocations: 147.1 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003749/0.2326, allocations: 143.2 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006511/0.2333, allocations: 298.8 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004874/0.2338, allocations: 479.5 kB / 1.093 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/0.2341, allocations: 202.7 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.2343, allocations: 199.1 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.2346, allocations: 199.1 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.2347, allocations: 36 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.2348, allocations: 79.98 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.986e-05/0.2349, allocations: 99.56 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.2351, allocations: 175 kB / 1.094 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.2356, allocations: 0.5368 MB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2356, allocations: 0 / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2356, allocations: 0 / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.2357, allocations: 0 / 1.094 GB, free: 11.24 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.001102/0.2368, allocations: 0.7084 MB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2368, allocations: 12.03 kB / 1.095 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.676e-05/0.2369, allocations: 70.66 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.571e-05/0.237, allocations: 44.66 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005972/0.2376, allocations: 418.7 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.2376, allocations: 20.56 kB / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.37e-05/0.2377, allocations: 27.98 kB / 1.095 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/0.2381, allocations: 275.6 kB / 1.096 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2382, allocations: 0 / 1.096 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.2382, allocations: 8 kB / 1.096 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.2382, allocations: 8 kB / 1.096 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003986/0.2386, allocations: 190.1 kB / 1.096 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.2399, allocations: 0.8726 MB / 1.097 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/0.2406, allocations: 219 kB / 1.097 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.2408, allocations: 100.7 kB / 1.097 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.2408, allocations: 4 kB / 1.097 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/0.2411, allocations: 135.3 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.2411, allocations: 0 / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0006622/0.2418, allocations: 290.7 kB / 1.097 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.2418, allocations: 55.34 kB / 1.097 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.2422, allocations: 413.6 kB / 1.098 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.2422, allocations: 33.7 kB / 1.098 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.2424, allocations: 220.3 kB / 1.098 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.2424, allocations: 63.48 kB / 1.098 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.2425, allocations: 53.88 kB / 1.098 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2426, allocations: 350.7 kB / 1.098 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.2428, allocations: 64.44 kB / 1.099 GB, free: 6.402 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.243, allocations: 118 kB / 1.099 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.2434, allocations: 185.4 kB / 1.099 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2434, allocations: 0 / 1.099 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004826/0.2439, allocations: 261.2 kB / 1.099 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2439, allocations: 8 kB / 1.099 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2439, allocations: 0 / 1.099 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2439, allocations: 4 kB / 1.099 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.2441, allocations: 52 kB / 1.099 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2442, allocations: 4 kB / 1.099 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.2443, allocations: 19.89 kB / 1.099 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.2443, allocations: 11.98 kB / 1.099 GB, free: 5.715 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.0001524/0.2445, allocations: 167.1 kB / 1.099 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.2445, allocations: 39.72 kB / 1.099 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.236e-05/0.2446, allocations: 47.56 kB / 1.099 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2446, allocations: 11.94 kB / 1.099 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2447, allocations: 0 / 1.099 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2447, allocations: 0 / 1.099 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000857/0.2455, allocations: 0.6875 MB / 1.1 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2455, allocations: 0 / 1.1 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.2457, allocations: 43.84 kB / 1.1 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2457, allocations: 0 / 1.1 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.2457, allocations: 8 kB / 1.1 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2458, allocations: 4 kB / 1.1 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2458, allocations: 0 / 1.1 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006522/0.2464, allocations: 417.2 kB / 1.101 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.2465, allocations: 128.9 kB / 1.101 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.2466, allocations: 8 kB / 1.101 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.2467, allocations: 19.98 kB / 1.101 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/0.2468, allocations: 11.98 kB / 1.101 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.2468, allocations: 11.98 kB / 1.101 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002651/0.2471, allocations: 295.2 kB / 1.101 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2471, allocations: 0 / 1.101 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003073/0.2474, allocations: 63.78 kB / 1.101 GB, free: 3.68 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.001639/0.2491, allocations: 1.268 MB / 1.102 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004172/0.2495, allocations: 175.8 kB / 1.102 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2495, allocations: 4.312 kB / 1.102 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.2497, allocations: 97.73 kB / 1.103 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.2502, allocations: 85.78 kB / 1.103 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003445/0.2537, allocations: 3.065 MB / 1.106 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.254, allocations: 0.7951 MB / 1.106 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000149/0.2541, allocations: 46.94 kB / 1.106 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.2543, allocations: 131.4 kB / 1.107 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.2543, allocations: 0 / 1.107 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.2778, allocations: 7.528 MB / 1.114 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/7.671, allocations: 6.188 kB / 1.114 GB, free: 6.629 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