Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_11_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.001713/0.001713, allocations: 108 kB / 15.61 MB, free: 152 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.001846/0.001846, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.449/2.449, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 61.86 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2345, allocations: 159.1 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003884/0.2384, allocations: 2.84 MB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.2404, allocations: 1.344 MB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.2406, allocations: 11.94 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.241, allocations: 147.1 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.2413, allocations: 143.2 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.2418, allocations: 307.8 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.2423, allocations: 471.5 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.2426, allocations: 206.7 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002083/0.2428, allocations: 187.1 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.243, allocations: 195.1 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.2431, allocations: 36 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.2432, allocations: 75.98 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.2433, allocations: 99.61 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.2435, allocations: 182.9 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004617/0.2439, allocations: 0.5062 MB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2439, allocations: 4 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2439, allocations: 0 / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.244, allocations: 4 kB / 1.071 GB, free: 7.438 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.0009543/0.2449, allocations: 0.7109 MB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.245, allocations: 8.031 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.052e-05/0.245, allocations: 58.73 kB / 1.071 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.21e-05/0.2451, allocations: 52.38 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.2456, allocations: 394.7 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.2456, allocations: 20.94 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.2457, allocations: 23.94 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.2461, allocations: 271.7 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2461, allocations: 4 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.2462, allocations: 8 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.2462, allocations: 15.98 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003832/0.2466, allocations: 182.1 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.2478, allocations: 0.8764 MB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006629/0.2485, allocations: 236.3 kB / 1.073 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.2487, allocations: 88.81 kB / 1.073 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.2487, allocations: 4 kB / 1.073 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.249, allocations: 139.3 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.249, allocations: 0 / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0006354/0.2496, allocations: 291 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.2497, allocations: 55.41 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/0.2501, allocations: 409.7 kB / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.2501, allocations: 29.7 kB / 1.074 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.2503, allocations: 220 kB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.2503, allocations: 67.03 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.816e-05/0.2504, allocations: 49.92 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2506, allocations: 354.7 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.2507, allocations: 68.44 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.2509, allocations: 127.1 kB / 1.075 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.2513, allocations: 177 kB / 1.075 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2513, allocations: 4 kB / 1.075 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000468/0.2518, allocations: 262.8 kB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.2518, allocations: 4 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2518, allocations: 0 / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2518, allocations: 4 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.252, allocations: 51.91 kB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2521, allocations: 4.156 kB / 1.076 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.2522, allocations: 19.78 kB / 1.076 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.2522, allocations: 15.98 kB / 1.076 GB, free: 1.938 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.0001522/0.2524, allocations: 165.8 kB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.2524, allocations: 39.53 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.311e-05/0.2525, allocations: 39.59 kB / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2525, allocations: 0 / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2525, allocations: 0 / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2525, allocations: 11.94 kB / 1.076 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008588/0.2534, allocations: 0.6738 MB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2534, allocations: 0 / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.2536, allocations: 31.97 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2536, allocations: 3.984 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.2536, allocations: 11.94 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2536, allocations: 0 / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2536, allocations: 4 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006574/0.2543, allocations: 424.6 kB / 1.077 GB, free: 476 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.2544, allocations: 128.6 kB / 1.077 GB, free: 328 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.2544, allocations: 7.984 kB / 1.077 GB, free: 320 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.2546, allocations: 8 kB / 1.077 GB, free: 312 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.2546, allocations: 24.03 kB / 1.077 GB, free: 288 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.2547, allocations: 4 kB / 1.077 GB, free: 284 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002922/0.255, allocations: 295.1 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.653e-06/0.255, allocations: 0 / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000301/0.2553, allocations: 67.69 kB / 1.078 GB, free: 15.92 MB / 0.8419 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.002118/0.2574, allocations: 1.268 MB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004267/0.2578, allocations: 193.6 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2579, allocations: 320 / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.2581, allocations: 91.89 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.2585, allocations: 97.56 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.2621, allocations: 3.091 MB / 1.082 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.2625, allocations: 0.7912 MB / 1.083 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000145/0.2626, allocations: 50.94 kB / 1.083 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.2628, allocations: 127.4 kB / 1.083 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.2628, allocations: 3.938 kB / 1.083 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.858/2.121, allocations: 7.396 MB / 1.09 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.76/19.88, allocations: 15.06 kB / 1.09 GB, free: 2.996 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat --tempDir=temp_Buildings_11_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor_fmu --startTime=0 --stopTime=360 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.fmu > Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches