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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009024/0.0009024, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005546/0.005546, allocations: 170 kB / 16.26 MB, free: 6.613 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.235/1.235, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.434/2.434, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002937/0.0002937, allocations: 13.28 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2256, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.002697/0.2284, allocations: 2.505 MB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.2301, allocations: 1.29 MB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.2303, allocations: 11.94 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.2306, allocations: 127.5 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.2308, allocations: 119.4 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.2313, allocations: 262.4 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.2317, allocations: 447.4 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.232, allocations: 190.7 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.2322, allocations: 147.1 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.2324, allocations: 155.1 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.2324, allocations: 8 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.096e-05/0.2325, allocations: 47.98 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.511e-05/0.2326, allocations: 67.56 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.2327, allocations: 164.7 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.2331, allocations: 486.2 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2331, allocations: 0 / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2331, allocations: 0 / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.2331, allocations: 0 / 1.065 GB, free: 14.9 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.0007999/0.2339, allocations: 0.6349 MB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.234, allocations: 12.03 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.432e-05/0.234, allocations: 62.72 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/0.2341, allocations: 48.38 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004513/0.2346, allocations: 398.6 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.2346, allocations: 16.94 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.2346, allocations: 31.92 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.2351, allocations: 275.7 kB / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2351, allocations: 0 / 1.066 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.533e-05/0.2352, allocations: 12 kB / 1.066 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.2352, allocations: 8 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.2356, allocations: 186.1 kB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.2367, allocations: 0.8841 MB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/0.2374, allocations: 238.2 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.2376, allocations: 88.83 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.2376, allocations: 4 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/0.2379, allocations: 147.2 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.2379, allocations: 0 / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0006342/0.2385, allocations: 295.7 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.2386, allocations: 59.41 kB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.239, allocations: 413.6 kB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.239, allocations: 33.7 kB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.2391, allocations: 212.1 kB / 1.069 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.2392, allocations: 59.11 kB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.2392, allocations: 29.7 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.2393, allocations: 354.7 kB / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.2395, allocations: 76.38 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.2397, allocations: 118.7 kB / 1.069 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.2401, allocations: 191.6 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2401, allocations: 0 / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004609/0.2405, allocations: 265 kB / 1.07 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2406, allocations: 9.406 kB / 1.07 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2406, allocations: 0 / 1.07 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.2406, allocations: 4 kB / 1.07 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.2408, allocations: 51.91 kB / 1.07 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2408, allocations: 4.156 kB / 1.07 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.241, allocations: 35.77 kB / 1.07 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.241, allocations: 4 kB / 1.07 GB, free: 9.434 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.0001479/0.2411, allocations: 169.8 kB / 1.07 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.2412, allocations: 39.52 kB / 1.07 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.665e-05/0.2413, allocations: 39.59 kB / 1.07 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.2413, allocations: 4 kB / 1.07 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2413, allocations: 4 kB / 1.07 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2413, allocations: 3.938 kB / 1.07 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008174/0.2421, allocations: 0.6816 MB / 1.071 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2421, allocations: 0 / 1.071 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.2423, allocations: 35.97 kB / 1.071 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.2423, allocations: 4 kB / 1.071 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.2423, allocations: 7.938 kB / 1.071 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2423, allocations: 0 / 1.071 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2423, allocations: 0 / 1.071 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.243, allocations: 436.6 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.2431, allocations: 132.6 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.2431, allocations: 8 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.2433, allocations: 7.984 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.2434, allocations: 15.98 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.2434, allocations: 11.98 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002651/0.2437, allocations: 295.2 kB / 1.072 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2437, allocations: 3.938 kB / 1.072 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002928/0.244, allocations: 59.78 kB / 1.072 GB, free: 7.402 MB / 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.001616/0.2456, allocations: 1.272 MB / 1.073 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003957/0.246, allocations: 185.1 kB / 1.073 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.246, allocations: 0 / 1.073 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.2462, allocations: 91.89 kB / 1.073 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.2467, allocations: 87.11 kB / 1.073 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/0.2503, allocations: 3.214 MB / 1.076 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.2506, allocations: 0.8031 MB / 1.077 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001428/0.2508, allocations: 42.95 kB / 1.077 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.251, allocations: 132.4 kB / 1.077 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.251, allocations: 0 / 1.077 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.509/3.76, allocations: 6.858 MB / 1.084 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/3.761, allocations: 281.4 kB / 1.084 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/5.672, allocations: 0 / 1.084 GB, free: 10.57 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 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.mat","/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