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.001479/0.001485, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001547/0.001547, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.455/2.455, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 61 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2889, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004434/0.2934, allocations: 2.843 MB / 1.03 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002244/0.2957, allocations: 1.352 MB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.2959, allocations: 15.88 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004453/0.2963, allocations: 143.2 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.2967, allocations: 139.2 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006369/0.2973, allocations: 297.9 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004659/0.2978, allocations: 487.4 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003434/0.2982, allocations: 194.5 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.2984, allocations: 187.2 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.2987, allocations: 195.1 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.596e-05/0.2987, allocations: 40 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.2989, allocations: 79.92 kB / 1.033 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.299, allocations: 87.7 kB / 1.033 GB, free: 12 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.2992, allocations: 190.8 kB / 1.033 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005045/0.2997, allocations: 0.5294 MB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2997, allocations: 0 / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2997, allocations: 0 / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.2997, allocations: 0 / 1.033 GB, free: 11.28 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.0009623/0.3007, allocations: 0.7009 MB / 1.034 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3007, allocations: 15.97 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.075e-05/0.3008, allocations: 44.38 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005869/0.3014, allocations: 414.6 kB / 1.034 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.3014, allocations: 16.94 kB / 1.034 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.3015, allocations: 28.12 kB / 1.034 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.302, allocations: 275.7 kB / 1.035 GB, free: 9.707 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.302, allocations: 0 / 1.035 GB, free: 9.707 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.302, allocations: 8 kB / 1.035 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.302, allocations: 12 kB / 1.035 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/0.3025, allocations: 178.2 kB / 1.035 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.3037, allocations: 0.8685 MB / 1.036 GB, free: 8.586 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006957/0.3044, allocations: 231 kB / 1.036 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.3046, allocations: 92.67 kB / 1.036 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.3047, allocations: 7.984 kB / 1.036 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002879/0.305, allocations: 141 kB / 1.036 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.305, allocations: 0 / 1.036 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0007071/0.3057, allocations: 289 kB / 1.037 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.3058, allocations: 55.41 kB / 1.037 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/0.3062, allocations: 409.7 kB / 1.037 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.3062, allocations: 33.7 kB / 1.037 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.3064, allocations: 220 kB / 1.037 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.3064, allocations: 55.2 kB / 1.037 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-05/0.3065, allocations: 53.83 kB / 1.037 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3067, allocations: 354.7 kB / 1.038 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.3068, allocations: 72.38 kB / 1.038 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.307, allocations: 119.5 kB / 1.038 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.3074, allocations: 186.1 kB / 1.038 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3074, allocations: 0 / 1.038 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004846/0.3079, allocations: 254.8 kB / 1.038 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3079, allocations: 4 kB / 1.038 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3079, allocations: 3.984 kB / 1.038 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.308, allocations: 4.156 kB / 1.038 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.3082, allocations: 51.92 kB / 1.038 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3082, allocations: 3.984 kB / 1.038 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.3084, allocations: 27.69 kB / 1.038 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.3084, allocations: 8 kB / 1.038 GB, free: 5.852 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.0001586/0.3086, allocations: 173.7 kB / 1.039 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.3086, allocations: 35.53 kB / 1.039 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.943e-05/0.3087, allocations: 51.56 kB / 1.039 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3087, allocations: 0 / 1.039 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3087, allocations: 4 kB / 1.039 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3087, allocations: 3.938 kB / 1.039 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008983/0.3096, allocations: 0.6722 MB / 1.039 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.3096, allocations: 0 / 1.039 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.3098, allocations: 39.91 kB / 1.039 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3099, allocations: 0 / 1.039 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.3099, allocations: 11.94 kB / 1.039 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3099, allocations: 0 / 1.039 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3099, allocations: 0 / 1.039 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000709/0.3106, allocations: 420.9 kB / 1.04 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.3107, allocations: 124.7 kB / 1.04 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.3108, allocations: 11.94 kB / 1.04 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.3109, allocations: 12.05 kB / 1.04 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.311, allocations: 15.98 kB / 1.04 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.499e-05/0.3111, allocations: 15.92 kB / 1.04 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002713/0.3113, allocations: 287.2 kB / 1.04 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3113, allocations: 4 kB / 1.04 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003311/0.3117, allocations: 71.67 kB / 1.04 GB, free: 3.82 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.0009282/0.3126, allocations: 422.5 kB / 1.041 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004518/0.3131, allocations: 181.4 kB / 1.041 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3131, allocations: 0 / 1.041 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.3133, allocations: 91.89 kB / 1.041 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005258/0.3138, allocations: 99.56 kB / 1.041 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.3149, allocations: 0.6072 MB / 1.042 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.3152, allocations: 0.7912 MB / 1.042 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001413/0.3153, allocations: 46.94 kB / 1.042 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.65e-05/0.3154, allocations: 31.44 kB / 1.042 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3154, allocations: 4 kB / 1.042 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of Templates: time 0.007654/0.3231, allocations: 3.769 MB / 1.046 GB, free: 13.96 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 gbode -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