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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009955/0.0009955, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9242/0.9242, allocations: 177.1 MB / 204.2 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.735/1.735, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|dxSpeCon.TMixAirSet|dxSpeCon.TMixAirMea|dxSpeCon.cooMod|dxSpeCon.y",fileNamePrefix="Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.471e-05, allocations: 9.062 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003131/0.003156, allocations: 2.823 MB / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.00509, allocations: 1.498 MB / 0.7913 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.005268, allocations: 15.88 kB / 0.7913 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.005677, allocations: 152 kB / 0.7915 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.006004, allocations: 192.6 kB / 0.7916 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.006366, allocations: 283.2 kB / 0.7919 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.006744, allocations: 495.9 kB / 0.7924 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.006945, allocations: 128.1 kB / 0.7925 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.007236, allocations: 271.3 kB / 0.7928 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.007412, allocations: 161 kB / 0.7929 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.00745, allocations: 36 kB / 0.793 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.007553, allocations: 83.92 kB / 0.793 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.103e-05/0.007634, allocations: 104.6 kB / 0.7931 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.377e-05/0.007718, allocations: 111.6 kB / 0.7932 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003424/0.00806, allocations: 342.6 kB / 0.7936 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.008062, allocations: 0.75 kB / 0.7936 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.62e-07/0.008063, allocations: 0 / 0.7936 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.008067, allocations: 2.562 kB / 0.7936 GB, free: 5.84 MB / 0.7448 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.0007577/0.008825, allocations: 0.7753 MB / 0.7943 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.00886, allocations: 11.97 kB / 0.7943 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.009006, allocations: 74.3 kB / 0.7944 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.009394, allocations: 379 kB / 0.7948 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.009418, allocations: 21.59 kB / 0.7948 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.009454, allocations: 24.38 kB / 0.7948 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.009748, allocations: 244.8 kB / 0.795 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.009757, allocations: 3.938 kB / 0.7951 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.009777, allocations: 12 kB / 0.7951 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.009785, allocations: 4 kB / 0.7951 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.009938, allocations: 87.44 kB / 0.7951 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008296/0.01077, allocations: 0.7456 MB / 0.7959 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.01112, allocations: 166 kB / 0.796 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.851e-05/0.0112, allocations: 47.61 kB / 0.7961 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.01122, allocations: 7.984 kB / 0.7961 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.01138, allocations: 118.7 kB / 0.7962 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.01138, allocations: 0 / 0.7962 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0003152/0.01169, allocations: 198.4 kB / 0.7964 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.01172, allocations: 59.39 kB / 0.7964 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.01198, allocations: 412.6 kB / 0.7968 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.012, allocations: 25.7 kB / 0.7969 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.01213, allocations: 267.4 kB / 0.7971 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.01216, allocations: 67.44 kB / 0.7972 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.01222, allocations: 59.58 kB / 0.7972 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.01235, allocations: 0.518 MB / 0.7977 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-05/0.01241, allocations: 28.45 kB / 0.7978 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.241e-05/0.01249, allocations: 103.6 kB / 0.7979 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.01264, allocations: 143.2 kB / 0.798 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01264, allocations: 0 / 0.798 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000491/0.01313, allocations: 197.5 kB / 0.7982 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.01315, allocations: 5.875 kB / 0.7982 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01315, allocations: 4 kB / 0.7982 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.01317, allocations: 0 / 0.7982 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.01329, allocations: 47.91 kB / 0.7983 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.01329, allocations: 4 kB / 0.7983 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.392e-05/0.01336, allocations: 20.38 kB / 0.7983 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.01337, allocations: 12.91 kB / 0.7983 GB, free: 0.75 MB / 0.7448 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,dxSpeCon.not1.y,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled,$PRE.cooMod.nextTimeEventScaled,reaToInt.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 9.512e-05/0.01346, allocations: 176.3 kB / 0.7985 GB, free: 0.5703 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.0135, allocations: 47.77 kB / 0.7985 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.01374, allocations: 186.1 kB / 0.7987 GB, free: 344 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.01374, allocations: 0.8438 kB / 0.7987 GB, free: 344 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.01374, allocations: 3.984 kB / 0.7987 GB, free: 340 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01375, allocations: 0 / 0.7987 GB, free: 340 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.01423, allocations: 0.5819 MB / 0.7993 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01423, allocations: 0 / 0.7993 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.588e-05/0.01433, allocations: 33.02 kB / 0.7993 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01433, allocations: 0 / 0.7993 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.01435, allocations: 11.98 kB / 0.7993 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01435, allocations: 3.219 kB / 0.7993 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01435, allocations: 0 / 0.7993 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.01465, allocations: 374.9 kB / 0.7997 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/0.01471, allocations: 51.73 kB / 0.7997 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.01474, allocations: 4 kB / 0.7997 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.0148, allocations: 4 kB / 0.7997 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.01486, allocations: 23.91 kB / 0.7997 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.01488, allocations: 11.98 kB / 0.7997 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001678/0.01505, allocations: 272.8 kB / 0.8 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01505, allocations: 0 / 0.8 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002151/0.01527, allocations: 71.81 kB / 0.8001 GB, free: 14.86 MB / 0.7605 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,reaToInt.y,cooMod.nextTimeEventScaled,cooMod.nextTimeEvent) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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.000805/0.01607, allocations: 395.7 kB / 0.8005 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.01627, allocations: 123.4 kB / 0.8006 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01627, allocations: 0 / 0.8006 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 8.429e-05/0.01635, allocations: 66.41 kB / 0.8006 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.01668, allocations: 94.12 kB / 0.8007 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009359/0.01762, allocations: 0.586 MB / 0.8013 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.155e-05/0.01768, allocations: 96.61 kB / 0.8014 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.361e-05/0.01778, allocations: 50.94 kB / 0.8014 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.01783, allocations: 32.5 kB / 0.8015 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of SimCode: time 5.51e-07/0.01784, allocations: 7.938 kB / 0.8015 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of Templates: time 0.006419/0.02425, allocations: 3.99 MB / 0.8054 GB, free: 9.609 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9176779254339635]