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: 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_11_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_11_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.008173/0.008173, allocations: 98.19 kB / 15.73 MB, free: 6.004 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.001779/0.001779, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.728/2.728, allocations: 469.8 MB / 0.7425 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 68.06 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.303, allocations: 159.1 MB / 1.221 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004346/0.3073, allocations: 2.829 MB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.3095, allocations: 1.36 MB / 1.225 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.3097, allocations: 15.94 kB / 1.225 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004221/0.3101, allocations: 143.2 kB / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003068/0.3104, allocations: 143.2 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.311, allocations: 299.1 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.3114, allocations: 475.5 kB / 1.226 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.3117, allocations: 142.6 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.3119, allocations: 191.1 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.3121, allocations: 195.1 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.691e-05/0.3122, allocations: 40 kB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.3123, allocations: 75.98 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3124, allocations: 95.62 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.3126, allocations: 182.9 kB / 1.227 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005445/0.3131, allocations: 0.5329 MB / 1.227 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3131, allocations: 0 / 1.227 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3131, allocations: 4 kB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.3131, allocations: 3.938 kB / 1.227 GB, free: 7.156 MB / 0.9825 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.001158/0.3143, allocations: 0.7161 MB / 1.228 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.3144, allocations: 8.031 kB / 1.228 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.3145, allocations: 48.66 kB / 1.228 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000717/0.3152, allocations: 418.8 kB / 1.228 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.3152, allocations: 16.94 kB / 1.228 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.554e-05/0.3153, allocations: 28.12 kB / 1.228 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/0.3158, allocations: 271.7 kB / 1.229 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3158, allocations: 4 kB / 1.229 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.3158, allocations: 12 kB / 1.229 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.3159, allocations: 7.938 kB / 1.229 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.3163, allocations: 186.1 kB / 1.229 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.3175, allocations: 0.8688 MB / 1.23 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007256/0.3183, allocations: 222.9 kB / 1.23 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.3185, allocations: 80.83 kB / 1.23 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.3185, allocations: 11.98 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003165/0.3188, allocations: 139.2 kB / 1.23 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.552e-06/0.3188, allocations: 0 / 1.23 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0007068/0.3195, allocations: 287.2 kB / 1.23 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.3196, allocations: 55.41 kB / 1.23 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.32, allocations: 417.6 kB / 1.231 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.32, allocations: 29.7 kB / 1.231 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.3202, allocations: 224.3 kB / 1.231 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/0.3202, allocations: 59.48 kB / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.122e-05/0.3203, allocations: 45.94 kB / 1.231 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3204, allocations: 350.7 kB / 1.231 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.3206, allocations: 68.42 kB / 1.232 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.3208, allocations: 126.7 kB / 1.232 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.3212, allocations: 183.3 kB / 1.232 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3212, allocations: 0 / 1.232 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004833/0.3217, allocations: 261.2 kB / 1.232 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3217, allocations: 13.88 kB / 1.232 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3217, allocations: 0 / 1.232 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3217, allocations: 7.984 kB / 1.232 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.3219, allocations: 43.92 kB / 1.232 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.3219, allocations: 3.984 kB / 1.232 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.3221, allocations: 31.77 kB / 1.232 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.3221, allocations: 11.94 kB / 1.232 GB, free: 1.703 MB / 0.9825 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.0001622/0.3223, allocations: 166.3 kB / 1.232 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.3223, allocations: 43.77 kB / 1.232 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.279e-05/0.3224, allocations: 43.58 kB / 1.232 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3224, allocations: 0 / 1.232 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3224, allocations: 3.938 kB / 1.232 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.3224, allocations: 3.938 kB / 1.232 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009083/0.3233, allocations: 0.6837 MB / 1.233 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3233, allocations: 0 / 1.233 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.3235, allocations: 35.97 kB / 1.233 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3235, allocations: 0 / 1.233 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.3235, allocations: 7.938 kB / 1.233 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3235, allocations: 4 kB / 1.233 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3235, allocations: 0 / 1.233 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.3242, allocations: 417 kB / 1.234 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.3243, allocations: 136.9 kB / 1.234 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.3244, allocations: 7.938 kB / 1.234 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.3245, allocations: 11.98 kB / 1.234 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.3246, allocations: 15.98 kB / 1.234 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.3246, allocations: 11.98 kB / 1.234 GB, free: 36 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002984/0.3249, allocations: 291.2 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3249, allocations: 0 / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003458/0.3253, allocations: 67.81 kB / 1.234 GB, free: 15.68 MB / 0.9981 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.0009169/0.3262, allocations: 431.9 kB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004489/0.3266, allocations: 169.4 kB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3266, allocations: 0 / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.3268, allocations: 83.89 kB / 1.235 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.3274, allocations: 92.14 kB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.3285, allocations: 0.6333 MB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.3288, allocations: 0.7912 MB / 1.236 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000147/0.3289, allocations: 54.94 kB / 1.236 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.329, allocations: 31.44 kB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of SimCode: time 4.8e-07/0.329, allocations: 0 / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of Templates: time 0.00761/0.3366, allocations: 3.815 MB / 1.24 GB, free: 9.742 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile (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 & ./Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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