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.001014/0.001014, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002013/0.003027, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009972/0.0009972, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001317/0.002315, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8861/0.8861, allocations: 177.2 MB / 189.8 MB, free: 5.273 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0811/0.9672, allocations: 53.67 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.741/1.741, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4589/2.2, allocations: 123.3 MB / 0.7283 GB, free: 5.766 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.192e-06/1.192e-06, allocations: 0 / 0.7296 GB, free: 4.469 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.346e-05/1.465e-05, allocations: 2.844 kB / 0.7296 GB, free: 4.465 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.002894/0.002909, allocations: 2.84 MB / 0.7324 GB, free: 1.656 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.004878, allocations: 1.543 MB / 0.7339 GB, free: 120 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.005076, allocations: 16.5 kB / 0.7339 GB, free: 104 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.005346, allocations: 152 kB / 0.7341 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.005638, allocations: 196.1 kB / 0.7343 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003857/0.006023, allocations: 291.8 kB / 0.7345 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003829/0.006406, allocations: 480.2 kB / 0.735 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.006588, allocations: 131.8 kB / 0.7351 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003189/0.006907, allocations: 338.9 kB / 0.7354 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.007067, allocations: 147.5 kB / 0.7356 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.007102, allocations: 37.38 kB / 0.7356 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.007215, allocations: 87.92 kB / 0.7357 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.61e-05/0.007281, allocations: 71.69 kB / 0.7358 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.007349, allocations: 84.28 kB / 0.7359 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/0.007664, allocations: 314.6 kB / 0.7362 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.007673, allocations: 5.656 kB / 0.7362 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.71e-07/0.007674, allocations: 0 / 0.7362 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.007684, allocations: 0 / 0.7362 GB, free: 13.81 MB / 0.7136 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.0006489/0.008333, allocations: 0.6788 MB / 0.7368 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.677e-05/0.00836, allocations: 16.52 kB / 0.7368 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.008495, allocations: 131.6 kB / 0.737 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.008804, allocations: 329.8 kB / 0.7373 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.008821, allocations: 16.88 kB / 0.7373 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.008851, allocations: 25.62 kB / 0.7373 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.009071, allocations: 227.8 kB / 0.7375 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.009079, allocations: 5.688 kB / 0.7375 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.009095, allocations: 12 kB / 0.7376 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.009101, allocations: 4 kB / 0.7376 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.437e-05/0.009185, allocations: 66.22 kB / 0.7376 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005791/0.009764, allocations: 0.5183 MB / 0.7381 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.01004, allocations: 173.9 kB / 0.7383 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.214e-05/0.01008, allocations: 44.77 kB / 0.7383 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.0101, allocations: 5.031 kB / 0.7383 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.01021, allocations: 104.2 kB / 0.7384 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 1.522e-06/0.01021, allocations: 0.5312 kB / 0.7384 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0001758/0.01038, allocations: 136.7 kB / 0.7386 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.0104, allocations: 59.34 kB / 0.7386 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.0106, allocations: 345.6 kB / 0.739 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.01062, allocations: 29.69 kB / 0.739 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.01069, allocations: 178.8 kB / 0.7392 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.01072, allocations: 67.45 kB / 0.7392 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.01077, allocations: 49.92 kB / 0.7393 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.01092, allocations: 351.5 kB / 0.7396 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.224e-05/0.01096, allocations: 23.28 kB / 0.7396 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-05/0.01101, allocations: 66.19 kB / 0.7397 GB, free: 10 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.01111, allocations: 122 kB / 0.7398 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01111, allocations: 1.719 kB / 0.7398 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001318/0.01125, allocations: 137.2 kB / 0.7399 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.01126, allocations: 10.53 kB / 0.7399 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.01126, allocations: 4 kB / 0.7399 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.01127, allocations: 7.938 kB / 0.74 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.01139, allocations: 45.22 kB / 0.74 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.01139, allocations: 7.938 kB / 0.74 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.508e-05/0.01146, allocations: 23.88 kB / 0.74 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.01147, allocations: 9.25 kB / 0.74 GB, free: 9.621 MB / 0.7136 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 7.762e-05/0.01154, allocations: 125.6 kB / 0.7402 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.01157, allocations: 39.03 kB / 0.7402 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.01172, allocations: 138.8 kB / 0.7403 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.01172, allocations: 4 kB / 0.7403 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.01172, allocations: 0 / 0.7403 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.01173, allocations: 3.984 kB / 0.7403 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.01204, allocations: 418.6 kB / 0.7407 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01204, allocations: 3.031 kB / 0.7407 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.137e-05/0.01213, allocations: 39.97 kB / 0.7408 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.01217, allocations: 39.69 kB / 0.7408 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.01218, allocations: 0 / 0.7408 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.01219, allocations: 4 kB / 0.7408 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01219, allocations: 4 kB / 0.7408 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01219, allocations: 0 / 0.7408 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.01239, allocations: 297.4 kB / 0.7411 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.01242, allocations: 13.39 kB / 0.7411 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.376e-05/0.01248, allocations: 8 kB / 0.7411 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.01252, allocations: 15.97 kB / 0.7411 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.01254, allocations: 4 kB / 0.7411 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001037/0.01264, allocations: 150 kB / 0.7413 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01264, allocations: 0 / 0.7413 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001863/0.01283, allocations: 71.77 kB / 0.7414 GB, free: 8.23 MB / 0.7136 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 (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.001214/0.01404, allocations: 0.5599 MB / 0.7419 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001645/0.0142, allocations: 100.7 kB / 0.742 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.01422, allocations: 7.984 kB / 0.742 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.676e-05/0.0143, allocations: 67.86 kB / 0.7421 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.01476, allocations: 0.5802 MB / 0.7426 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.01614, allocations: 0.5918 MB / 0.7432 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.826e-05/0.0162, allocations: 105.5 kB / 0.7433 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.0163, allocations: 43.59 kB / 0.7434 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.01645, allocations: 119.2 kB / 0.7435 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of SimCode: time 5.61e-07/0.01645, allocations: 2.75 kB / 0.7435 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of Templates: time 0.00696/0.02341, allocations: 4.375 MB / 0.7477 GB, free: 2.039 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor/Buildings_12_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.651403919793665]