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.001684/0.001684, allocations: 79.03 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001817/0.001817, allocations: 160.4 kB / 23.02 MB, free: 4.941 MB / 14.72 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 1.43/1.43, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.818/2.818, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 63.91 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8604/0.8627, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.003298/0.866, allocations: 2.703 MB / 1.157 GB, free: 31.53 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001941/0.8679, allocations: 1.46 MB / 1.158 GB, free: 30.56 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.8681, allocations: 9.938 kB / 1.158 GB, free: 30.55 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.8685, allocations: 151.7 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.8688, allocations: 184.8 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004479/0.8693, allocations: 286.8 kB / 1.159 GB, free: 30.21 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003661/0.8696, allocations: 496.6 kB / 1.159 GB, free: 29.96 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.8698, allocations: 114.8 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002407/0.8701, allocations: 208.3 kB / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.8703, allocations: 185.3 kB / 1.16 GB, free: 29.7 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.8703, allocations: 40.22 kB / 1.16 GB, free: 29.7 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.8704, allocations: 82.47 kB / 1.16 GB, free: 29.68 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.851e-05/0.8705, allocations: 101.2 kB / 1.16 GB, free: 29.61 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.93e-05/0.8706, allocations: 143.1 kB / 1.16 GB, free: 29.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004262/0.8711, allocations: 0.5496 MB / 1.16 GB, free: 29.28 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8711, allocations: 0 / 1.16 GB, free: 29.28 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8711, allocations: 4 kB / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.8711, allocations: 0 / 1.16 GB, free: 29.27 MB / 1.076 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.0008717/0.8719, allocations: 0.6796 MB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.872, allocations: 11.62 kB / 1.161 GB, free: 28.75 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.8721, allocations: 62.14 kB / 1.161 GB, free: 28.72 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/0.8726, allocations: 352.8 kB / 1.161 GB, free: 28.47 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.8726, allocations: 20.03 kB / 1.162 GB, free: 28.46 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.8727, allocations: 28.91 kB / 1.162 GB, free: 28.45 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.8731, allocations: 297.8 kB / 1.162 GB, free: 28.29 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.8731, allocations: 0 / 1.162 GB, free: 28.29 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.8731, allocations: 11.28 kB / 1.162 GB, free: 28.28 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.8732, allocations: 9.812 kB / 1.162 GB, free: 28.28 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003681/0.8735, allocations: 181.8 kB / 1.162 GB, free: 28.22 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.8745, allocations: 0.7309 MB / 1.163 GB, free: 27.73 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/0.8752, allocations: 222.3 kB / 1.163 GB, free: 27.64 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.8754, allocations: 84.17 kB / 1.163 GB, free: 27.6 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.8754, allocations: 10.7 kB / 1.163 GB, free: 27.59 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.8756, allocations: 136.5 kB / 1.163 GB, free: 27.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.8756, allocations: 0 / 1.163 GB, free: 27.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0006395/0.8763, allocations: 299.5 kB / 1.163 GB, free: 27.39 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.8763, allocations: 61.72 kB / 1.164 GB, free: 27.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.8766, allocations: 414.2 kB / 1.164 GB, free: 27.12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.8766, allocations: 25.7 kB / 1.164 GB, free: 27.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.8768, allocations: 224.4 kB / 1.164 GB, free: 26.9 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.8768, allocations: 67.36 kB / 1.164 GB, free: 26.85 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.8769, allocations: 54.12 kB / 1.164 GB, free: 26.81 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.8769, allocations: 351.3 kB / 1.165 GB, free: 26.48 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.8771, allocations: 68.97 kB / 1.165 GB, free: 26.46 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.8773, allocations: 118.3 kB / 1.165 GB, free: 26.38 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.8776, allocations: 195.5 kB / 1.165 GB, free: 26.26 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8776, allocations: 0 / 1.165 GB, free: 26.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004518/0.878, allocations: 262.7 kB / 1.165 GB, free: 26.14 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.878, allocations: 11.83 kB / 1.165 GB, free: 26.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.8781, allocations: 0 / 1.165 GB, free: 26.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.8781, allocations: 2.406 kB / 1.165 GB, free: 26.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.8783, allocations: 47.23 kB / 1.165 GB, free: 26.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.8783, allocations: 2.719 kB / 1.165 GB, free: 26.13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.8784, allocations: 23.62 kB / 1.165 GB, free: 26.12 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.8784, allocations: 5.469 kB / 1.165 GB, free: 26.12 MB / 1.076 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.0001214/0.8786, allocations: 178.2 kB / 1.165 GB, free: 25.97 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.8786, allocations: 36.17 kB / 1.166 GB, free: 25.95 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004678/0.8791, allocations: 253.2 kB / 1.166 GB, free: 25.84 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.8791, allocations: 2.906 kB / 1.166 GB, free: 25.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.8791, allocations: 0 / 1.166 GB, free: 25.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.8791, allocations: 3.328 kB / 1.166 GB, free: 25.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007036/0.8798, allocations: 0.6012 MB / 1.166 GB, free: 25.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8798, allocations: 0 / 1.166 GB, free: 25.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.8799, allocations: 29.72 kB / 1.166 GB, free: 25.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.88, allocations: 4 kB / 1.166 GB, free: 25.45 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.88, allocations: 9.906 kB / 1.166 GB, free: 25.44 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.88, allocations: 0 / 1.166 GB, free: 25.44 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.88, allocations: 3.938 kB / 1.166 GB, free: 25.44 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005997/0.8806, allocations: 441.8 kB / 1.167 GB, free: 25.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.569e-05/0.8807, allocations: 54.62 kB / 1.167 GB, free: 25.15 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.8807, allocations: 2.688 kB / 1.167 GB, free: 25.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.8808, allocations: 9.922 kB / 1.167 GB, free: 25.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.8809, allocations: 25.84 kB / 1.167 GB, free: 25.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.8809, allocations: 5.656 kB / 1.167 GB, free: 25.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002182/0.8811, allocations: 294.2 kB / 1.167 GB, free: 25 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.8811, allocations: 0 / 1.167 GB, free: 25 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003135/0.8815, allocations: 73.2 kB / 1.167 GB, free: 24.97 MB / 1.076 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.001507/0.883, allocations: 455.6 kB / 1.168 GB, free: 24.77 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003946/0.8834, allocations: 169.3 kB / 1.168 GB, free: 24.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8834, allocations: 2.469 kB / 1.168 GB, free: 24.72 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.8835, allocations: 90.45 kB / 1.168 GB, free: 24.69 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.8841, allocations: 95.94 kB / 1.168 GB, free: 24.65 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008857/0.8849, allocations: 0.6446 MB / 1.169 GB, free: 24.26 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.8851, allocations: 207.5 kB / 1.169 GB, free: 24.16 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001305/0.8852, allocations: 41.42 kB / 1.169 GB, free: 24.16 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.8853, allocations: 33.34 kB / 1.169 GB, free: 24.15 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/0.8853, allocations: 0 / 1.169 GB, free: 24.15 MB / 1.076 GB Notification: Performance of Templates: time 0.008041/0.8933, allocations: 3.975 MB / 1.173 GB, free: 23.64 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.66802480397746]