Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 120.2 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5763 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.88 kB / 1.057 GB, free: 2.02 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3602, allocations: 160.7 MB / 1.214 GB, free: 0.9883 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor): time 0.004994/0.3652, allocations: 2.848 MB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.3677, allocations: 1.364 MB / 1.218 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.368, allocations: 11.94 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005457/0.3685, allocations: 151.1 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.3689, allocations: 151.2 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006905/0.3696, allocations: 299.1 kB / 1.219 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005713/0.3701, allocations: 479.5 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.3704, allocations: 130.5 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002826/0.3707, allocations: 191.2 kB / 1.22 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.371, allocations: 207 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.628e-05/0.371, allocations: 40 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.3712, allocations: 71.98 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.3713, allocations: 99.62 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.3715, allocations: 186.9 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006732/0.3722, allocations: 0.5251 MB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3722, allocations: 0 / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3722, allocations: 3.938 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.3722, allocations: 0 / 1.221 GB, free: 10.23 MB / 0.9669 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.001184/0.3734, allocations: 0.7277 MB / 1.221 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3734, allocations: 19.92 kB / 1.221 GB, free: 9.43 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.3735, allocations: 48.64 kB / 1.221 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006485/0.3742, allocations: 399 kB / 1.222 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.3742, allocations: 16.94 kB / 1.222 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/0.3742, allocations: 32.12 kB / 1.222 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.3748, allocations: 275.6 kB / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3748, allocations: 0 / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.3748, allocations: 12 kB / 1.222 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.3748, allocations: 4 kB / 1.222 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004565/0.3753, allocations: 182.2 kB / 1.222 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.3767, allocations: 0.8765 MB / 1.223 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000753/0.3775, allocations: 220.9 kB / 1.223 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.3777, allocations: 88.75 kB / 1.223 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.3777, allocations: 4 kB / 1.223 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003171/0.378, allocations: 135.3 kB / 1.224 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 3.226e-06/0.378, allocations: 3.984 kB / 1.224 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.0007393/0.3788, allocations: 291.5 kB / 1.224 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.3788, allocations: 55.34 kB / 1.224 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004934/0.3793, allocations: 421.6 kB / 1.224 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.3793, allocations: 25.7 kB / 1.224 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.3795, allocations: 216.3 kB / 1.225 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/0.3797, allocations: 67.42 kB / 1.225 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.3798, allocations: 57.92 kB / 1.225 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002495/0.3801, allocations: 350.7 kB / 1.225 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.3803, allocations: 68.44 kB / 1.225 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.3805, allocations: 107.5 kB / 1.225 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.3809, allocations: 191.5 kB / 1.225 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3809, allocations: 0 / 1.225 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006127/0.3815, allocations: 265.1 kB / 1.226 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.3816, allocations: 8 kB / 1.226 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3816, allocations: 0 / 1.226 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.3816, allocations: 4 kB / 1.226 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.3818, allocations: 43.91 kB / 1.226 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.3818, allocations: 4 kB / 1.226 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.382, allocations: 27.98 kB / 1.226 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.382, allocations: 19.92 kB / 1.226 GB, free: 4.766 MB / 0.9669 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.0002038/0.3822, allocations: 159.4 kB / 1.226 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.3823, allocations: 35.77 kB / 1.226 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.3824, allocations: 43.58 kB / 1.226 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.3824, allocations: 4 kB / 1.226 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3824, allocations: 0 / 1.226 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3824, allocations: 3.938 kB / 1.226 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.3835, allocations: 0.6856 MB / 1.227 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3835, allocations: 0 / 1.227 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.3837, allocations: 35.91 kB / 1.227 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3837, allocations: 4 kB / 1.227 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.3837, allocations: 7.938 kB / 1.227 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3837, allocations: 0 / 1.227 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3837, allocations: 0 / 1.227 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008098/0.3845, allocations: 428.8 kB / 1.227 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.3847, allocations: 132.8 kB / 1.227 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.3847, allocations: 7.875 kB / 1.227 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.3849, allocations: 11.98 kB / 1.227 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/0.385, allocations: 19.97 kB / 1.227 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.385, allocations: 4 kB / 1.227 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003432/0.3853, allocations: 299.2 kB / 1.227 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3853, allocations: 0 / 1.227 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000351/0.3857, allocations: 63.88 kB / 1.228 GB, free: 2.754 MB / 0.9669 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.001538/0.3872, allocations: 418.2 kB / 1.228 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00056/0.3878, allocations: 174.7 kB / 1.228 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3878, allocations: 0 / 1.228 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.388, allocations: 85.72 kB / 1.228 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.3886, allocations: 96.14 kB / 1.228 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.39, allocations: 0.6639 MB / 1.229 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.3905, allocations: 0.8029 MB / 1.23 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.831e-05/0.3906, allocations: 27.44 kB / 1.23 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.3906, allocations: 0 / 1.23 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of Templates: time 0.008856/0.3995, allocations: 4.73 MB / 1.234 GB, free: 11.9 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; mkfifo Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe ; head -c 1048576 < Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe >> ../files/Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.sim & ./Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.843724394915625]