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: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 106.6 kB / 16.35 MB, free: 5.824 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.001318/0.001318, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.398/2.398, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.47 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2984, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004634/0.3031, allocations: 2.843 MB / 1.029 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00224/0.3054, allocations: 1.352 MB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.3057, allocations: 11.94 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004933/0.3062, allocations: 143.2 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.3066, allocations: 143.2 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006721/0.3072, allocations: 302.1 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004736/0.3077, allocations: 479.4 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/0.3081, allocations: 202.5 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.3083, allocations: 187.2 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.3086, allocations: 191.1 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.495e-05/0.3086, allocations: 40 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.3088, allocations: 75.98 kB / 1.033 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.3089, allocations: 99.56 kB / 1.033 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.3091, allocations: 183 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005864/0.3097, allocations: 0.5293 MB / 1.033 GB, free: 11.31 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3097, allocations: 8 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3097, allocations: 0 / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.3097, allocations: 0 / 1.033 GB, free: 11.3 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.001131/0.3109, allocations: 0.6984 MB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3109, allocations: 12.03 kB / 1.034 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.311, allocations: 44.38 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00064/0.3117, allocations: 406.6 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.3117, allocations: 20.94 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.3118, allocations: 28.12 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005075/0.3123, allocations: 279.6 kB / 1.035 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3123, allocations: 0 / 1.035 GB, free: 9.734 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.3123, allocations: 12 kB / 1.035 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.3123, allocations: 4 kB / 1.035 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004225/0.3128, allocations: 182.1 kB / 1.035 GB, free: 9.539 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.3141, allocations: 0.8763 MB / 1.036 GB, free: 8.605 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/0.3148, allocations: 231 kB / 1.036 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.315, allocations: 88.73 kB / 1.036 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.3151, allocations: 7.984 kB / 1.036 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/0.3154, allocations: 139.3 kB / 1.036 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.883e-06/0.3154, allocations: 3.938 kB / 1.036 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0007007/0.3161, allocations: 290.9 kB / 1.037 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.3161, allocations: 59.41 kB / 1.037 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/0.3166, allocations: 409.7 kB / 1.037 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.3166, allocations: 33.7 kB / 1.037 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.3168, allocations: 216 kB / 1.037 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.167e-05/0.3168, allocations: 55.2 kB / 1.037 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.859e-05/0.3169, allocations: 57.83 kB / 1.037 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3171, allocations: 350.7 kB / 1.038 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.3173, allocations: 72.44 kB / 1.038 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.3175, allocations: 111.5 kB / 1.038 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.3179, allocations: 182.5 kB / 1.038 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.3179, allocations: 4 kB / 1.038 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004736/0.3184, allocations: 251.4 kB / 1.038 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3184, allocations: 10.84 kB / 1.038 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.3184, allocations: 11.92 kB / 1.038 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3184, allocations: 0 / 1.038 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.3187, allocations: 43.98 kB / 1.038 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.3187, allocations: 11.92 kB / 1.038 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.3188, allocations: 27.69 kB / 1.038 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.3189, allocations: 4 kB / 1.038 GB, free: 5.879 MB / 0.8106 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.0001843/0.319, allocations: 175.2 kB / 1.039 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.3191, allocations: 39.47 kB / 1.039 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.351e-05/0.3192, allocations: 43.58 kB / 1.039 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3192, allocations: 4 kB / 1.039 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.3192, allocations: 0 / 1.039 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.3192, allocations: 3.938 kB / 1.039 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009232/0.3202, allocations: 0.6758 MB / 1.039 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3202, allocations: 0 / 1.039 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.3203, allocations: 43.91 kB / 1.039 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.3204, allocations: 3.984 kB / 1.039 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.3204, allocations: 7.938 kB / 1.039 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3204, allocations: 0 / 1.039 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3204, allocations: 0 / 1.039 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006846/0.3211, allocations: 418.9 kB / 1.04 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.3212, allocations: 124.7 kB / 1.04 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.3213, allocations: 11.94 kB / 1.04 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.3214, allocations: 7.984 kB / 1.04 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.3215, allocations: 15.98 kB / 1.04 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.3215, allocations: 11.98 kB / 1.04 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002935/0.3218, allocations: 291.2 kB / 1.04 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3218, allocations: 0 / 1.04 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003351/0.3222, allocations: 75.61 kB / 1.04 GB, free: 3.848 MB / 0.8106 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.0009842/0.3232, allocations: 422.5 kB / 1.041 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004481/0.3236, allocations: 182 kB / 1.041 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3236, allocations: 0 / 1.041 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.3238, allocations: 88.2 kB / 1.041 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.3244, allocations: 108.1 kB / 1.041 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.3255, allocations: 0.6072 MB / 1.042 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.3259, allocations: 0.799 MB / 1.042 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001548/0.3261, allocations: 46.94 kB / 1.042 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.3261, allocations: 31.44 kB / 1.042 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3262, allocations: 0 / 1.042 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of Templates: time 0.008058/0.3342, allocations: 3.758 MB / 1.046 GB, free: 13.98 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (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 & ./Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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