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.0007526/0.0007526, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001131/0.001884, allocations: 449.7 kB / 10.37 MB, free: 328 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.001013/0.001013, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.002312, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9257/0.9257, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09847/1.024, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.763/1.763, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4538/2.217, allocations: 123.3 MB / 0.728 GB, free: 5.836 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.593e-06/1.593e-06, allocations: 0.5469 kB / 0.7293 GB, free: 4.566 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.138e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.562 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004543/0.004565, allocations: 2.836 MB / 0.7321 GB, free: 1.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002766/0.007331, allocations: 1.543 MB / 0.7336 GB, free: 212 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003114/0.007642, allocations: 15.88 kB / 0.7336 GB, free: 196 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.008072, allocations: 147.1 kB / 0.7337 GB, free: 48 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004802/0.008552, allocations: 197.2 kB / 0.7339 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.009182, allocations: 279.2 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005434/0.009725, allocations: 479.8 kB / 0.7347 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002533/0.009978, allocations: 136.3 kB / 0.7348 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004968/0.01048, allocations: 334.2 kB / 0.7351 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.01071, allocations: 140.3 kB / 0.7352 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.01076, allocations: 40.5 kB / 0.7353 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.01095, allocations: 81.16 kB / 0.7354 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.01105, allocations: 75.73 kB / 0.7354 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.01115, allocations: 87.75 kB / 0.7355 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.01164, allocations: 314.6 kB / 0.7358 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.988e-05/0.01166, allocations: 4.844 kB / 0.7358 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.363e-06/0.01166, allocations: 0 / 0.7358 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.899e-05/0.01168, allocations: 0.5312 kB / 0.7358 GB, free: 13.92 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.001005/0.01269, allocations: 0.6875 MB / 0.7365 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.01272, allocations: 8.031 kB / 0.7365 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.01296, allocations: 138.8 kB / 0.7366 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008059/0.01376, allocations: 318.5 kB / 0.7369 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.01379, allocations: 17.75 kB / 0.7369 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.01383, allocations: 28.31 kB / 0.737 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.01421, allocations: 232.7 kB / 0.7372 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.01422, allocations: 3.938 kB / 0.7372 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.01424, allocations: 13.75 kB / 0.7372 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.01425, allocations: 8 kB / 0.7372 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.0144, allocations: 62.3 kB / 0.7373 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.0154, allocations: 0.5219 MB / 0.7378 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.01582, allocations: 173.8 kB / 0.738 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/0.01589, allocations: 40.78 kB / 0.738 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.01592, allocations: 4.719 kB / 0.738 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.01611, allocations: 104.8 kB / 0.7381 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=20): time 2.575e-06/0.01611, allocations: 0.9375 kB / 0.7381 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20): time 0.0002714/0.01638, allocations: 133.5 kB / 0.7382 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.01642, allocations: 52.62 kB / 0.7383 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.01672, allocations: 353 kB / 0.7386 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.01675, allocations: 29.7 kB / 0.7386 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.01686, allocations: 178.8 kB / 0.7388 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.01691, allocations: 63.48 kB / 0.7389 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.01699, allocations: 53.83 kB / 0.7389 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.01711, allocations: 351.5 kB / 0.7393 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-05/0.01716, allocations: 19.3 kB / 0.7393 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.753e-05/0.01724, allocations: 76.73 kB / 0.7393 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.0174, allocations: 111.7 kB / 0.7395 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.0174, allocations: 4 kB / 0.7395 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002012/0.0176, allocations: 133.5 kB / 0.7396 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.01762, allocations: 5.25 kB / 0.7396 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.01763, allocations: 4 kB / 0.7396 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.01764, allocations: 7.875 kB / 0.7396 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.01782, allocations: 60.92 kB / 0.7397 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.01783, allocations: 7.984 kB / 0.7397 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.434e-05/0.01792, allocations: 20.42 kB / 0.7397 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.01793, allocations: 4 kB / 0.7397 GB, free: 9.727 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 0.0001104/0.01804, allocations: 134.1 kB / 0.7398 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.01808, allocations: 23.98 kB / 0.7398 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.0183, allocations: 143.4 kB / 0.74 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.0183, allocations: 6.75 kB / 0.74 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.01831, allocations: 0 / 0.74 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.01831, allocations: 0 / 0.74 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.01878, allocations: 428.9 kB / 0.7404 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01878, allocations: 0 / 0.7404 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.01892, allocations: 31.92 kB / 0.7404 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.01899, allocations: 43.69 kB / 0.7405 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01899, allocations: 2.875 kB / 0.7405 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.01901, allocations: 4 kB / 0.7405 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.01901, allocations: 8 kB / 0.7405 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.01902, allocations: 3.984 kB / 0.7405 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.0193, allocations: 293.1 kB / 0.7408 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.01934, allocations: 11.94 kB / 0.7408 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.896e-05/0.01944, allocations: 4.594 kB / 0.7408 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.01949, allocations: 16.72 kB / 0.7408 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.01952, allocations: 15.97 kB / 0.7408 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001458/0.01966, allocations: 148.3 kB / 0.741 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.01966, allocations: 0 / 0.741 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003174/0.01998, allocations: 64.44 kB / 0.741 GB, free: 8.332 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.001595/0.02157, allocations: 0.5485 MB / 0.7415 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.02176, allocations: 93.84 kB / 0.7416 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/0.02177, allocations: 8.625 kB / 0.7416 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.873e-05/0.02186, allocations: 61.28 kB / 0.7417 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.02226, allocations: 115.8 kB / 0.7418 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.02422, allocations: 0.5921 MB / 0.7424 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.296e-05/0.0243, allocations: 100.9 kB / 0.7425 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001332/0.02443, allocations: 39.45 kB / 0.7425 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001818/0.02461, allocations: 113.8 kB / 0.7426 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of SimCode: time 7.82e-07/0.02461, allocations: 0 / 0.7426 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of Templates: time 0.03709/0.06171, allocations: 4.412 MB / 0.7469 GB, free: 2.727 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.979342941194773]