Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001444/0.001444, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001722/0.001722, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9724/0.9724, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.919/1.919, allocations: 377.8 MB / 0.6239 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.974e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003674/0.003704, allocations: 2.823 MB / 0.8143 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.005812, allocations: 1.491 MB / 0.8157 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.006074, allocations: 15.88 kB / 0.8157 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004703/0.006544, allocations: 151 kB / 0.8159 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004314/0.006976, allocations: 193.9 kB / 0.8161 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.007472, allocations: 279.2 kB / 0.8163 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.007927, allocations: 495.3 kB / 0.8168 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.008159, allocations: 125 kB / 0.8169 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003813/0.008541, allocations: 271.3 kB / 0.8172 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.008758, allocations: 168.8 kB / 0.8173 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.008801, allocations: 40 kB / 0.8174 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.008926, allocations: 79.92 kB / 0.8175 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.91e-05/0.009016, allocations: 96.23 kB / 0.8175 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.009116, allocations: 107.6 kB / 0.8176 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.009557, allocations: 348 kB / 0.818 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.009561, allocations: 0 / 0.818 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.012e-06/0.009562, allocations: 0 / 0.818 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.009568, allocations: 0 / 0.818 GB, free: 11.44 MB / 0.7761 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.0008738/0.01044, allocations: 0.7899 MB / 0.8188 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.01048, allocations: 8.031 kB / 0.8188 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.01065, allocations: 72.66 kB / 0.8188 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004312/0.01108, allocations: 380.3 kB / 0.8192 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.0111, allocations: 20.88 kB / 0.8192 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.01114, allocations: 21.06 kB / 0.8192 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.01169, allocations: 243.2 kB / 0.8195 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.0117, allocations: 4.656 kB / 0.8195 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.01172, allocations: 12 kB / 0.8195 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.01173, allocations: 4.531 kB / 0.8195 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.0119, allocations: 95.77 kB / 0.8196 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009089/0.01281, allocations: 0.7411 MB / 0.8203 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.01318, allocations: 157.5 kB / 0.8205 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.091e-05/0.01326, allocations: 47.66 kB / 0.8205 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.01328, allocations: 5.281 kB / 0.8205 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.01344, allocations: 118.9 kB / 0.8206 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 2.765e-06/0.01345, allocations: 1.25 kB / 0.8206 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0003528/0.0138, allocations: 203.4 kB / 0.8208 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.01383, allocations: 55.41 kB / 0.8209 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.01412, allocations: 412.5 kB / 0.8213 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.01414, allocations: 33.69 kB / 0.8213 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.01428, allocations: 271.3 kB / 0.8215 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.01432, allocations: 67.42 kB / 0.8216 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.01438, allocations: 55.59 kB / 0.8217 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.01452, allocations: 0.5182 MB / 0.8222 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.701e-05/0.01459, allocations: 32.44 kB / 0.8222 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.059e-05/0.01468, allocations: 100.8 kB / 0.8223 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.01484, allocations: 133.5 kB / 0.8224 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01484, allocations: 1.094 kB / 0.8224 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002434/0.01508, allocations: 198.2 kB / 0.8226 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.0151, allocations: 8.5 kB / 0.8226 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01511, allocations: 1.469 kB / 0.8226 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.01512, allocations: 4 kB / 0.8226 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.01526, allocations: 47.91 kB / 0.8227 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.01527, allocations: 4 kB / 0.8227 GB, free: 6.379 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.32e-05/0.01534, allocations: 20.59 kB / 0.8227 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.01535, allocations: 8 kB / 0.8227 GB, free: 6.352 MB / 0.7761 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 0.0001059/0.01546, allocations: 173.8 kB / 0.8229 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.0155, allocations: 43.77 kB / 0.8229 GB, free: 6.129 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.01577, allocations: 188.8 kB / 0.8231 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.01577, allocations: 4 kB / 0.8231 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.01577, allocations: 8.594 kB / 0.8231 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.01578, allocations: 0 / 0.8231 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.01633, allocations: 0.5746 MB / 0.8237 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01633, allocations: 0 / 0.8237 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.01644, allocations: 39.91 kB / 0.8237 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01645, allocations: 0 / 0.8237 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.01646, allocations: 4 kB / 0.8237 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01646, allocations: 0 / 0.8237 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01647, allocations: 3.984 kB / 0.8237 GB, free: 5.27 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.01681, allocations: 380.2 kB / 0.8241 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.788e-05/0.01688, allocations: 51.67 kB / 0.8241 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.01691, allocations: 4 kB / 0.8241 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.01698, allocations: 11.98 kB / 0.8241 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.01704, allocations: 19.97 kB / 0.8242 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.01706, allocations: 4.969 kB / 0.8242 GB, free: 4.793 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00019/0.01725, allocations: 279 kB / 0.8244 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01725, allocations: 0 / 0.8244 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002404/0.01749, allocations: 68.92 kB / 0.8245 GB, free: 4.453 MB / 0.7761 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.0008778/0.01837, allocations: 399 kB / 0.8249 GB, free: 4.207 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.01859, allocations: 120.9 kB / 0.825 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01859, allocations: 0 / 0.825 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.549e-05/0.01869, allocations: 69.45 kB / 0.8251 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.01905, allocations: 93.27 kB / 0.8251 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.02011, allocations: 0.5801 MB / 0.8257 GB, free: 3.316 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.732e-05/0.02017, allocations: 108.6 kB / 0.8258 GB, free: 3.191 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.02029, allocations: 46.94 kB / 0.8259 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.02035, allocations: 32.48 kB / 0.8259 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of SimCode: time 8.72e-07/0.02035, allocations: 0 / 0.8259 GB, free: 3.113 MB / 0.7761 GB Notification: Performance of Templates: time 0.006604/0.02696, allocations: 4.009 MB / 0.8298 GB, free: 15.19 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 5.268678836058825]