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.00208/0.00208, allocations: 106.6 kB / 16.45 MB, free: 6.453 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.002106/0.002106, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.592/1.592, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.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 3.626/3.626, allocations: 0.4899 GB / 0.7916 GB, free: 33.24 MB / 0.6231 GB " [Timeout remaining time 176] 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.002168/0.002168, allocations: 77.75 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4416, allocations: 176.1 MB / 1.321 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.00552/0.4471, allocations: 2.863 MB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003158/0.4502, allocations: 1.539 MB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004279/0.4507, allocations: 11.88 kB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005644/0.4512, allocations: 151.1 kB / 1.326 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005292/0.4518, allocations: 183 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007374/0.4525, allocations: 281.7 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006796/0.4532, allocations: 495.4 kB / 1.327 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003178/0.4535, allocations: 130.5 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.4539, allocations: 207.1 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.4542, allocations: 199.1 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.087e-05/0.4542, allocations: 40 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.4545, allocations: 83.97 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.4546, allocations: 103.6 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.4548, allocations: 182.9 kB / 1.328 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008214/0.4556, allocations: 0.5407 MB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4556, allocations: 4 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4556, allocations: 0 / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.4556, allocations: 0 / 1.328 GB, free: 11.82 MB / 1.029 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.001403/0.457, allocations: 0.7316 MB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.4571, allocations: 8.031 kB / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.4573, allocations: 60.59 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007867/0.4581, allocations: 415 kB / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.4581, allocations: 16.94 kB / 1.329 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.256e-05/0.4582, allocations: 32.06 kB / 1.329 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005815/0.4588, allocations: 275.6 kB / 1.33 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4588, allocations: 0 / 1.33 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.4588, allocations: 12 kB / 1.33 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.4588, allocations: 4 kB / 1.33 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000455/0.4593, allocations: 190.2 kB / 1.33 GB, free: 9.996 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.4607, allocations: 0.8727 MB / 1.331 GB, free: 9.059 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008006/0.4615, allocations: 227 kB / 1.331 GB, free: 8.832 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002153/0.4617, allocations: 80.73 kB / 1.331 GB, free: 8.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.4618, allocations: 11.97 kB / 1.331 GB, free: 8.738 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/0.4621, allocations: 145.2 kB / 1.331 GB, free: 8.586 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.4621, allocations: 0 / 1.331 GB, free: 8.586 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001011/0.4631, allocations: 290.8 kB / 1.331 GB, free: 8.297 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.4632, allocations: 55.41 kB / 1.331 GB, free: 8.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005656/0.4637, allocations: 429.5 kB / 1.332 GB, free: 7.801 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.4638, allocations: 29.7 kB / 1.332 GB, free: 7.766 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.464, allocations: 224.3 kB / 1.332 GB, free: 7.543 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.743e-05/0.464, allocations: 59.48 kB / 1.332 GB, free: 7.484 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.671e-05/0.4641, allocations: 49.92 kB / 1.332 GB, free: 7.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.4643, allocations: 354.7 kB / 1.332 GB, free: 7.074 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.4645, allocations: 64.44 kB / 1.333 GB, free: 7.012 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.4647, allocations: 122.7 kB / 1.333 GB, free: 6.875 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.4652, allocations: 185 kB / 1.333 GB, free: 6.676 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4652, allocations: 0 / 1.333 GB, free: 6.676 MB / 1.029 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005883/0.4658, allocations: 268.1 kB / 1.333 GB, free: 6.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4658, allocations: 4 kB / 1.333 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4658, allocations: 0 / 1.333 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4658, allocations: 7.938 kB / 1.333 GB, free: 6.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.4661, allocations: 48.12 kB / 1.333 GB, free: 6.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.4661, allocations: 7.938 kB / 1.333 GB, free: 6.344 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.4662, allocations: 27.81 kB / 1.333 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.4663, allocations: 8 kB / 1.333 GB, free: 6.309 MB / 1.029 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.0002133/0.4665, allocations: 171.8 kB / 1.333 GB, free: 6.133 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.4665, allocations: 39.72 kB / 1.333 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.414e-05/0.4666, allocations: 39.61 kB / 1.333 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4666, allocations: 4 kB / 1.333 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.4666, allocations: 7.938 kB / 1.333 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.4667, allocations: 7.922 kB / 1.333 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.4678, allocations: 0.6779 MB / 1.334 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4678, allocations: 0 / 1.334 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.468, allocations: 27.92 kB / 1.334 GB, free: 5.277 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.468, allocations: 7.984 kB / 1.334 GB, free: 5.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.468, allocations: 7.938 kB / 1.334 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.468, allocations: 0 / 1.334 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.468, allocations: 8 kB / 1.334 GB, free: 5.254 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008323/0.4689, allocations: 413.2 kB / 1.335 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.469, allocations: 136.8 kB / 1.335 GB, free: 4.684 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.4691, allocations: 7.938 kB / 1.335 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.4692, allocations: 16.05 kB / 1.335 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.164e-05/0.4693, allocations: 19.98 kB / 1.335 GB, free: 4.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.4693, allocations: 11.98 kB / 1.335 GB, free: 4.629 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000376/0.4697, allocations: 299.2 kB / 1.335 GB, free: 4.336 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4697, allocations: 3.938 kB / 1.335 GB, free: 4.332 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003723/0.4701, allocations: 59.88 kB / 1.335 GB, free: 4.273 MB / 1.029 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.001631/0.4717, allocations: 415.7 kB / 1.335 GB, free: 4.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005299/0.4722, allocations: 175.8 kB / 1.336 GB, free: 3.848 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4722, allocations: 0 / 1.336 GB, free: 3.848 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.4725, allocations: 89.78 kB / 1.336 GB, free: 3.762 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006242/0.4731, allocations: 95.72 kB / 1.336 GB, free: 3.672 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.4746, allocations: 0.6413 MB / 1.336 GB, free: 2.996 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.4751, allocations: 0.799 MB / 1.337 GB, free: 2.172 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001667/0.4753, allocations: 38.97 kB / 1.337 GB, free: 2.133 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.858e-05/0.4754, allocations: 35.42 kB / 1.337 GB, free: 2.098 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.4754, allocations: 0 / 1.337 GB, free: 2.098 MB / 1.029 GB Notification: Performance of Templates: time 0.01127/0.4866, allocations: 3.87 MB / 1.341 GB, free: 14.27 MB / 1.045 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=400 -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/jenkins/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: 10.58805971685797]