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.007201/0.007201, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001323/0.001323, allocations: 189.7 kB / 16.67 MB, free: 5.969 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.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.375/2.375, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 66.62 kB / 0.9508 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.303, allocations: 140.4 MB / 1.088 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004666/0.3077, allocations: 2.826 MB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002724/0.3105, allocations: 1.36 MB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/0.3108, allocations: 7.938 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000609/0.3114, allocations: 143.2 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.3119, allocations: 139.2 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007073/0.3126, allocations: 311.1 kB / 1.093 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005016/0.3131, allocations: 479.4 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/0.3134, allocations: 198.4 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.3137, allocations: 191.2 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.314, allocations: 199.1 kB / 1.094 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.271e-05/0.3141, allocations: 36 kB / 1.094 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.3142, allocations: 79.98 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.3143, allocations: 103.5 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.3145, allocations: 179 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005699/0.3151, allocations: 0.5216 MB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3151, allocations: 8 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3151, allocations: 0 / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.3151, allocations: 3.938 kB / 1.094 GB, free: 10.85 MB / 0.8575 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.001086/0.3162, allocations: 0.7048 MB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3163, allocations: 8.031 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.663e-05/0.3164, allocations: 48.38 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006602/0.317, allocations: 410.6 kB / 1.096 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.3171, allocations: 20.5 kB / 1.096 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.3171, allocations: 24 kB / 1.096 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.3177, allocations: 275.6 kB / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3177, allocations: 0 / 1.096 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.3177, allocations: 8 kB / 1.096 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.3177, allocations: 12 kB / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004022/0.3181, allocations: 178.2 kB / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.3194, allocations: 0.8763 MB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007214/0.3202, allocations: 227 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.3204, allocations: 88.73 kB / 1.097 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.3204, allocations: 4 kB / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.3207, allocations: 153.2 kB / 1.097 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 2.214e-06/0.3207, allocations: 0 / 1.097 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.00071/0.3214, allocations: 289 kB / 1.098 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.3215, allocations: 51.41 kB / 1.098 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.3219, allocations: 413.7 kB / 1.098 GB, free: 6.898 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.322, allocations: 33.7 kB / 1.098 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.3221, allocations: 212 kB / 1.098 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.3222, allocations: 55.2 kB / 1.098 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-05/0.3223, allocations: 53.84 kB / 1.098 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3224, allocations: 350.7 kB / 1.099 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.3226, allocations: 72.42 kB / 1.099 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.3228, allocations: 114 kB / 1.099 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.3232, allocations: 191.4 kB / 1.099 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3232, allocations: 0 / 1.099 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004881/0.3237, allocations: 249.1 kB / 1.099 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3237, allocations: 4 kB / 1.099 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3237, allocations: 4 kB / 1.099 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3238, allocations: 160 / 1.099 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.324, allocations: 51.97 kB / 1.099 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.324, allocations: 11.88 kB / 1.099 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.3242, allocations: 27.73 kB / 1.1 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.3242, allocations: 4 kB / 1.1 GB, free: 5.43 MB / 0.8575 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.000171/0.3244, allocations: 174.8 kB / 1.1 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.85e-05/0.3244, allocations: 39.47 kB / 1.1 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.851e-05/0.3245, allocations: 43.53 kB / 1.1 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3245, allocations: 8 kB / 1.1 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3245, allocations: 3.938 kB / 1.1 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.3245, allocations: 3.984 kB / 1.1 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008946/0.3254, allocations: 0.6796 MB / 1.1 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3254, allocations: 0 / 1.1 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.3256, allocations: 35.92 kB / 1.1 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3256, allocations: 3.938 kB / 1.1 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.3257, allocations: 11.98 kB / 1.1 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3257, allocations: 0 / 1.1 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3257, allocations: 0 / 1.1 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006893/0.3264, allocations: 417 kB / 1.101 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.3265, allocations: 132.6 kB / 1.101 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.3265, allocations: 8 kB / 1.101 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.3267, allocations: 8.062 kB / 1.101 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.3268, allocations: 19.97 kB / 1.101 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.3268, allocations: 8 kB / 1.101 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000294/0.3271, allocations: 299.1 kB / 1.101 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3271, allocations: 0 / 1.101 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003327/0.3275, allocations: 59.75 kB / 1.101 GB, free: 3.402 MB / 0.8575 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.0009858/0.3284, allocations: 423.5 kB / 1.102 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004536/0.3289, allocations: 183.7 kB / 1.102 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3289, allocations: 0 / 1.102 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.3291, allocations: 87.91 kB / 1.102 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.3297, allocations: 102.2 kB / 1.102 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.3308, allocations: 0.6111 MB / 1.103 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.3312, allocations: 0.7951 MB / 1.104 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.3313, allocations: 42.95 kB / 1.104 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.444e-05/0.3314, allocations: 35.42 kB / 1.104 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.3314, allocations: 4 kB / 1.104 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of Templates: time 0.00825/0.3397, allocations: 3.874 MB / 1.107 GB, free: 13.41 MB / 0.8731 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/jenkins/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