Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_latest_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.001226/0.001226, 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.001244/0.001244, allocations: 195.5 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.208/1.208, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.431/2.431, allocations: 469.4 MB / 0.742 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 71.72 kB / 0.9083 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2299, allocations: 159.1 MB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003718/0.2337, allocations: 2.824 MB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.2355, allocations: 1.348 MB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.2357, allocations: 11.94 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.236, allocations: 139.2 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.2363, allocations: 147.1 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004896/0.2368, allocations: 306.4 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.2372, allocations: 479.5 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.2375, allocations: 194.8 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.2377, allocations: 195.1 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.2379, allocations: 191.1 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.21e-05/0.2379, allocations: 39.94 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.2381, allocations: 75.98 kB / 1.069 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.236e-05/0.2382, allocations: 95.62 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.2383, allocations: 186.9 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.2387, allocations: 0.5101 MB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2387, allocations: 0 / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2387, allocations: 4 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.2388, allocations: 0 / 1.07 GB, free: 7.715 MB / 0.8262 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.0008948/0.2397, allocations: 0.7047 MB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.2397, allocations: 12.03 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.887e-05/0.2398, allocations: 66.72 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.2398, allocations: 44.38 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.2403, allocations: 402.7 kB / 1.071 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.2403, allocations: 16.94 kB / 1.071 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.2404, allocations: 27.92 kB / 1.071 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004337/0.2408, allocations: 271.7 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.2408, allocations: 0 / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.2409, allocations: 12 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2409, allocations: 4 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.2413, allocations: 186.2 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.2424, allocations: 0.8802 MB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006611/0.243, allocations: 234.9 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.2432, allocations: 84.83 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.2433, allocations: 11.98 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002774/0.2435, allocations: 135.3 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.2436, allocations: 4 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0006256/0.2442, allocations: 290.7 kB / 1.073 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.2442, allocations: 51.41 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.2446, allocations: 413.7 kB / 1.074 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.2446, allocations: 29.7 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.2447, allocations: 212 kB / 1.074 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.2448, allocations: 71.09 kB / 1.074 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/0.2449, allocations: 53.88 kB / 1.074 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.245, allocations: 350.7 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.2451, allocations: 68.42 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.2453, allocations: 114 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.2457, allocations: 192.9 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2457, allocations: 0 / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004463/0.2461, allocations: 260.9 kB / 1.075 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2462, allocations: 9.094 kB / 1.075 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2462, allocations: 0 / 1.075 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.2462, allocations: 4 kB / 1.075 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.2464, allocations: 47.91 kB / 1.075 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2464, allocations: 4 kB / 1.075 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.2466, allocations: 31.92 kB / 1.075 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.2466, allocations: 8 kB / 1.075 GB, free: 2.211 MB / 0.8262 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.0001367/0.2467, allocations: 168.7 kB / 1.075 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.2468, allocations: 35.53 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.183e-05/0.2468, allocations: 39.59 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2469, allocations: 7.984 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2469, allocations: 0 / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2469, allocations: 3.938 kB / 1.076 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007887/0.2477, allocations: 0.6832 MB / 1.076 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2477, allocations: 4 kB / 1.076 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.2478, allocations: 27.98 kB / 1.076 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.2479, allocations: 4 kB / 1.076 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.2479, allocations: 7.922 kB / 1.076 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2479, allocations: 0 / 1.076 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2479, allocations: 0 / 1.076 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006444/0.2485, allocations: 429.1 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.65e-05/0.2486, allocations: 132.6 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.2487, allocations: 4 kB / 1.077 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.2488, allocations: 7.984 kB / 1.077 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.2489, allocations: 20.05 kB / 1.077 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.2489, allocations: 11.98 kB / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002509/0.2492, allocations: 295.2 kB / 1.077 GB, free: 264 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2492, allocations: 0 / 1.077 GB, free: 264 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002888/0.2495, allocations: 59.75 kB / 1.077 GB, free: 204 kB / 0.8262 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.001556/0.2511, allocations: 1.272 MB / 1.078 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004127/0.2515, allocations: 191.8 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2515, allocations: 0 / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.2517, allocations: 93.75 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.2522, allocations: 92.95 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.2555, allocations: 3.088 MB / 1.082 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.2558, allocations: 0.7951 MB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001415/0.256, allocations: 38.97 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.2562, allocations: 135.4 kB / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of SimCode: time 1.352e-06/0.2562, allocations: 0 / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.2792, allocations: 7.416 MB / 1.09 GB, free: 3.277 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.651/6.931, allocations: 10.12 kB / 1.09 GB, free: 3.27 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches