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.001425/0.001425, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001545/0.001545, allocations: 188.6 kB / 16.25 MB, free: 6.637 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.282/1.282, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.574/2.574, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 74.22 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2523, allocations: 157.4 MB / 1.052 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003977/0.2563, allocations: 2.882 MB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.2582, allocations: 1.313 MB / 1.057 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.2583, allocations: 11.94 kB / 1.057 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003979/0.2588, allocations: 131.5 kB / 1.057 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002646/0.259, allocations: 119.4 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.2596, allocations: 271.2 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000429/0.26, allocations: 479.4 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.2603, allocations: 202.7 kB / 1.058 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.2606, allocations: 187.2 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.2608, allocations: 199.1 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.2609, allocations: 36 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.261, allocations: 83.98 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.136e-05/0.2611, allocations: 99.56 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.2612, allocations: 179 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004519/0.2617, allocations: 0.5101 MB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2617, allocations: 0 / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.021e-06/0.2617, allocations: 0 / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.2617, allocations: 0 / 1.059 GB, free: 2.004 MB / 0.8106 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.0009741/0.2627, allocations: 0.7087 MB / 1.06 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2627, allocations: 12.62 kB / 1.06 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.212e-05/0.2628, allocations: 58.72 kB / 1.06 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.865e-05/0.2629, allocations: 44.38 kB / 1.06 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/0.2634, allocations: 402.6 kB / 1.06 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.2634, allocations: 20.94 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.2635, allocations: 27.94 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.2639, allocations: 271.7 kB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.264, allocations: 0 / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.264, allocations: 8 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.264, allocations: 8 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.2644, allocations: 186.1 kB / 1.061 GB, free: 180 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.2656, allocations: 0.8764 MB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/0.2663, allocations: 231 kB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.2665, allocations: 96.67 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.2665, allocations: 7.984 kB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000316/0.2668, allocations: 135.3 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.572e-06/0.2669, allocations: 0 / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0006362/0.2675, allocations: 286.6 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.2675, allocations: 59.41 kB / 1.062 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/0.2679, allocations: 409.7 kB / 1.063 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.268, allocations: 33.7 kB / 1.063 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.2681, allocations: 220 kB / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.2681, allocations: 55.2 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.439e-05/0.2682, allocations: 57.78 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2683, allocations: 350.7 kB / 1.063 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.2685, allocations: 68.42 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.2687, allocations: 126.7 kB / 1.064 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.269, allocations: 182.9 kB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.269, allocations: 4 kB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004593/0.2695, allocations: 253.1 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2695, allocations: 8.156 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2695, allocations: 4 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.2696, allocations: 3.984 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.2698, allocations: 43.92 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/0.2698, allocations: 7.984 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.2699, allocations: 27.69 kB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.27, allocations: 11.98 kB / 1.064 GB, free: 12.5 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.0001535/0.2701, allocations: 169.8 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.2702, allocations: 39.53 kB / 1.064 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.819e-05/0.2703, allocations: 43.58 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2703, allocations: 4 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2703, allocations: 0 / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.2703, allocations: 3.938 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008304/0.2711, allocations: 0.6796 MB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.2711, allocations: 3.984 kB / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.2713, allocations: 35.97 kB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2713, allocations: 0 / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.2713, allocations: 11.94 kB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2713, allocations: 0 / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2714, allocations: 0 / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006475/0.272, allocations: 422.6 kB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.2721, allocations: 128.7 kB / 1.066 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.2722, allocations: 8 kB / 1.066 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.2723, allocations: 11.98 kB / 1.066 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.2724, allocations: 15.98 kB / 1.066 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.2724, allocations: 11.92 kB / 1.066 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002595/0.2727, allocations: 295.2 kB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2727, allocations: 0 / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003118/0.273, allocations: 67.69 kB / 1.066 GB, free: 10.47 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.001655/0.2747, allocations: 1.267 MB / 1.067 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004336/0.2751, allocations: 197.1 kB / 1.067 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2751, allocations: 0 / 1.067 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.2753, allocations: 87.91 kB / 1.067 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.2759, allocations: 85.17 kB / 1.067 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.2796, allocations: 3.195 MB / 1.071 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.28, allocations: 0.7953 MB / 1.071 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001727/0.2801, allocations: 50.94 kB / 1.071 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.2803, allocations: 123.4 kB / 1.072 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of SimCode: time 5.401e-06/0.2803, allocations: 0 / 1.072 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.391/0.6713, allocations: 7.281 MB / 1.079 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.6715, allocations: 282.4 kB / 1.079 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.55, allocations: 2.672 kB / 1.079 GB, free: 13.23 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