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.001707/0.001707, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002116/0.002116, allocations: 212.2 kB / 22.25 MB, free: 5.262 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.647/1.647, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.836/2.836, allocations: 475.9 MB / 0.7699 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002146/0.002146, allocations: 69 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3433, allocations: 170 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004931/0.3482, allocations: 2.72 MB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003056/0.3513, allocations: 1.454 MB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003688/0.3516, allocations: 15.88 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005563/0.3522, allocations: 143.2 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006063/0.3528, allocations: 187 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000732/0.3535, allocations: 277.6 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007103/0.3542, allocations: 0.4916 MB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/0.3545, allocations: 115.2 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004046/0.355, allocations: 207.1 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.3553, allocations: 187 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.835e-05/0.3554, allocations: 36 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.3556, allocations: 83.97 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.3557, allocations: 103.6 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.3559, allocations: 147.1 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007644/0.3567, allocations: 0.5407 MB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3567, allocations: 4 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3567, allocations: 0 / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.3567, allocations: 0 / 1.29 GB, free: 5.191 MB / 0.9825 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.001382/0.3581, allocations: 0.6805 MB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3581, allocations: 8.031 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002222/0.3583, allocations: 56.64 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007775/0.3591, allocations: 359.6 kB / 1.291 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.3591, allocations: 16.88 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/0.3592, allocations: 27.94 kB / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.3598, allocations: 300.5 kB / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3598, allocations: 0 / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.3598, allocations: 15.94 kB / 1.291 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-06/0.3598, allocations: 8 kB / 1.291 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004614/0.3603, allocations: 181.9 kB / 1.291 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.3618, allocations: 0.7252 MB / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.3625, allocations: 222.4 kB / 1.292 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.3627, allocations: 87.47 kB / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.3628, allocations: 7.906 kB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003283/0.3631, allocations: 143.2 kB / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.3631, allocations: 0 / 1.292 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0007809/0.3639, allocations: 299 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.3639, allocations: 55.41 kB / 1.293 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/0.3644, allocations: 425.5 kB / 1.293 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.3645, allocations: 25.7 kB / 1.293 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.3647, allocations: 224.6 kB / 1.293 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.607e-05/0.3647, allocations: 63.47 kB / 1.293 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.3648, allocations: 53.92 kB / 1.293 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.365, allocations: 350.7 kB / 1.294 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.3652, allocations: 72.38 kB / 1.294 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.3654, allocations: 118.8 kB / 1.294 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.3658, allocations: 192.2 kB / 1.294 GB, free: 332 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3658, allocations: 0 / 1.294 GB, free: 332 kB / 0.9825 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005629/0.3664, allocations: 265.2 kB / 1.294 GB, free: 60 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3664, allocations: 8 kB / 1.294 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3664, allocations: 3.938 kB / 1.294 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.3664, allocations: 4 kB / 1.294 GB, free: 44 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.3667, allocations: 47.95 kB / 1.294 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3667, allocations: 0 / 1.294 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.3668, allocations: 23.83 kB / 1.294 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.3669, allocations: 11.94 kB / 1.294 GB, free: 15.96 MB / 0.9981 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.0001937/0.3671, allocations: 173.9 kB / 1.295 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/0.3671, allocations: 35.77 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005995/0.3677, allocations: 256.9 kB / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3677, allocations: 0 / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3677, allocations: 0 / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.3677, allocations: 0 / 1.295 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.3688, allocations: 0.5984 MB / 1.295 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3688, allocations: 4 kB / 1.295 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.3689, allocations: 31.92 kB / 1.295 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3689, allocations: 0 / 1.295 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.369, allocations: 7.984 kB / 1.295 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.369, allocations: 4 kB / 1.295 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.369, allocations: 3.938 kB / 1.295 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008093/0.3698, allocations: 445.5 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.3699, allocations: 55.7 kB / 1.296 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.37, allocations: 4 kB / 1.296 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3701, allocations: 11.98 kB / 1.296 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.3702, allocations: 23.84 kB / 1.296 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.3702, allocations: 8 kB / 1.296 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000328/0.3705, allocations: 295.1 kB / 1.296 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3705, allocations: 0 / 1.296 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003735/0.3709, allocations: 63.89 kB / 1.296 GB, free: 13.91 MB / 0.9981 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.001702/0.3726, allocations: 449.8 kB / 1.297 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004997/0.3731, allocations: 175.7 kB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3731, allocations: 0 / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.3734, allocations: 91.89 kB / 1.297 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.3739, allocations: 82.58 kB / 1.297 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.3752, allocations: 0.6456 MB / 1.298 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.3755, allocations: 195.4 kB / 1.298 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001805/0.3756, allocations: 50.94 kB / 1.298 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.956e-05/0.3757, allocations: 39.36 kB / 1.298 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.3757, allocations: 4 kB / 1.298 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of Templates: time 0.009834/0.3856, allocations: 4.287 MB / 1.302 GB, free: 8.133 MB / 0.9981 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.244579700753093]