Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: 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_9_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_9_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.001323/0.001324, allocations: 102.2 kB / 16.27 MB, free: 6 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.001439/0.00144, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.357/1.357, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.157/2.157, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 66.41 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3064, allocations: 140.4 MB / 0.9503 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.005653/0.3121, allocations: 2.832 MB / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.3151, allocations: 1.337 MB / 0.9543 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004815/0.3156, allocations: 11.94 kB / 0.9544 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006183/0.3163, allocations: 151.1 kB / 0.9545 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005588/0.3168, allocations: 135.2 kB / 0.9546 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008154/0.3177, allocations: 311 kB / 0.9549 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006335/0.3184, allocations: 471.5 kB / 0.9554 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004087/0.3188, allocations: 202.8 kB / 0.9556 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.319, allocations: 187.2 kB / 0.9558 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.3193, allocations: 191.1 kB / 0.9559 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.63e-05/0.3194, allocations: 40 kB / 0.956 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.3195, allocations: 87.91 kB / 0.9561 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.3197, allocations: 91.64 kB / 0.9561 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.3199, allocations: 186.9 kB / 0.9563 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005751/0.3204, allocations: 0.5101 MB / 0.9568 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3205, allocations: 0 / 0.9568 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3205, allocations: 0 / 0.9568 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.3205, allocations: 0 / 0.9568 GB, free: 2.148 MB / 0.7325 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.001149/0.3216, allocations: 0.7126 MB / 0.9575 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3217, allocations: 8.031 kB / 0.9575 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.921e-05/0.3218, allocations: 48.38 kB / 0.9576 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005699/0.3224, allocations: 406.5 kB / 0.958 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.3224, allocations: 20.5 kB / 0.958 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.3225, allocations: 28 kB / 0.958 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005801/0.3231, allocations: 271.7 kB / 0.9583 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3231, allocations: 0 / 0.9583 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.3231, allocations: 12 kB / 0.9583 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3231, allocations: 4 kB / 0.9583 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004052/0.3235, allocations: 190.1 kB / 0.9585 GB, free: 376 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.3251, allocations: 0.8803 MB / 0.9593 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007182/0.3258, allocations: 229.3 kB / 0.9595 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.326, allocations: 84.83 kB / 0.9596 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.326, allocations: 8 kB / 0.9596 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003862/0.3264, allocations: 149.2 kB / 0.9598 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.3265, allocations: 0 / 0.9598 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.000725/0.3272, allocations: 281.2 kB / 0.96 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.3272, allocations: 55.41 kB / 0.9601 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.3277, allocations: 413.6 kB / 0.9605 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.3277, allocations: 33.7 kB / 0.9605 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.3279, allocations: 208.2 kB / 0.9607 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/0.328, allocations: 67.08 kB / 0.9608 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/0.328, allocations: 49.94 kB / 0.9608 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.3282, allocations: 350.7 kB / 0.9612 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.3284, allocations: 72.42 kB / 0.9612 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.3286, allocations: 114 kB / 0.9613 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.329, allocations: 188.2 kB / 0.9615 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.329, allocations: 0 / 0.9615 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005255/0.3296, allocations: 257 kB / 0.9618 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3296, allocations: 12.09 kB / 0.9618 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.3296, allocations: 7.938 kB / 0.9618 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3296, allocations: 0 / 0.9618 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.3299, allocations: 47.91 kB / 0.9618 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3299, allocations: 7.938 kB / 0.9618 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.33, allocations: 27.73 kB / 0.9619 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.3301, allocations: 4 kB / 0.9619 GB, free: 12.71 MB / 0.7481 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.0001912/0.3302, allocations: 170.8 kB / 0.962 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.3303, allocations: 35.62 kB / 0.9621 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.727e-05/0.3304, allocations: 39.59 kB / 0.9621 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3304, allocations: 4 kB / 0.9621 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.3304, allocations: 3.938 kB / 0.9621 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3304, allocations: 3.984 kB / 0.9621 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.3315, allocations: 0.6795 MB / 0.9628 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3315, allocations: 3.984 kB / 0.9628 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.3317, allocations: 31.98 kB / 0.9628 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3317, allocations: 3.938 kB / 0.9628 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.3317, allocations: 8 kB / 0.9628 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3317, allocations: 4 kB / 0.9628 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3317, allocations: 0 / 0.9628 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007357/0.3325, allocations: 420.7 kB / 0.9632 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.3326, allocations: 128.6 kB / 0.9633 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.3326, allocations: 11.98 kB / 0.9634 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.3328, allocations: 8 kB / 0.9634 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.3329, allocations: 15.97 kB / 0.9634 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.3329, allocations: 8 kB / 0.9634 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003136/0.3332, allocations: 291.2 kB / 0.9637 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3332, allocations: 0 / 0.9637 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003281/0.3336, allocations: 67.77 kB / 0.9637 GB, free: 10.7 MB / 0.7481 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.0009415/0.3345, allocations: 423.5 kB / 0.9641 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004828/0.335, allocations: 189.7 kB / 0.9643 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.335, allocations: 0 / 0.9643 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.3352, allocations: 100.1 kB / 0.9644 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.3358, allocations: 97.02 kB / 0.9645 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.337, allocations: 0.6556 MB / 0.9651 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.3374, allocations: 0.7988 MB / 0.9659 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.727e-05/0.3375, allocations: 35.42 kB / 0.966 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of SimCode: time 1.81e-07/0.3375, allocations: 0 / 0.966 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of Templates: time 0.007316/0.3449, allocations: 4.689 MB / 0.9705 GB, free: 3.848 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches