Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.00187/0.00187, allocations: 110 kB / 18.93 MB, free: 2.945 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.002338/0.002338, allocations: 187.9 kB / 22.23 MB, free: 5.16 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.593/1.593, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.365/3.365, allocations: 496 MB / 0.7835 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 62.94 kB / 1.138 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3839, allocations: 173.6 MB / 1.307 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002263/0.3862, allocations: 0.7906 MB / 1.308 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.3874, allocations: 0.8701 MB / 1.309 GB, free: 148 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.3874, allocations: 0 / 1.309 GB, free: 148 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.13e-05/0.3875, allocations: 3.938 kB / 1.309 GB, free: 144 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.611e-05/0.3876, allocations: 15.88 kB / 1.309 GB, free: 128 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.3877, allocations: 35.95 kB / 1.309 GB, free: 92 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.3879, allocations: 91.75 kB / 1.309 GB, free: 0 / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.388, allocations: 19.98 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.199e-05/0.3881, allocations: 39.84 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.758e-05/0.3882, allocations: 47.83 kB / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.3882, allocations: 8 kB / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.907e-05/0.3882, allocations: 12 kB / 1.309 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.3883, allocations: 19.97 kB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.414e-05/0.3883, allocations: 43.72 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.3885, allocations: 83.61 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3885, allocations: 0 / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3885, allocations: 0 / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.3885, allocations: 3.938 kB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006365/0.3891, allocations: 318 kB / 1.31 GB, free: 15.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.3892, allocations: 16.92 kB / 1.31 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.3892, allocations: 8.891 kB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.3893, allocations: 118.4 kB / 1.31 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.3894, allocations: 8.375 kB / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3894, allocations: 8.312 kB / 1.31 GB, free: 15.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.3897, allocations: 105.5 kB / 1.31 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3897, allocations: 0 / 1.31 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.3897, allocations: 4 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.3897, allocations: 4 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.3901, allocations: 99.89 kB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.3907, allocations: 311.7 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006554/0.3914, allocations: 122.6 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.3916, allocations: 52.81 kB / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.3916, allocations: 0 / 1.31 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.3916, allocations: 34.56 kB / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.3916, allocations: 0 / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0006711/0.3923, allocations: 189.4 kB / 1.311 GB, free: 14.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.3923, allocations: 55.41 kB / 1.311 GB, free: 14.16 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.3925, allocations: 129.7 kB / 1.311 GB, free: 14.02 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.3925, allocations: 29.7 kB / 1.311 GB, free: 13.99 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.3926, allocations: 96.08 kB / 1.311 GB, free: 13.89 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.3926, allocations: 23.8 kB / 1.311 GB, free: 13.87 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.087e-05/0.3926, allocations: 25.7 kB / 1.311 GB, free: 13.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3928, allocations: 314.8 kB / 1.311 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.393, allocations: 47.95 kB / 1.311 GB, free: 13.47 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.3931, allocations: 43.95 kB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.3935, allocations: 105.2 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/0.3935, allocations: 3.984 kB / 1.311 GB, free: 13.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004005/0.3939, allocations: 133.6 kB / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3939, allocations: 8 kB / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3939, allocations: 0 / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3939, allocations: 0 / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.3941, allocations: 23.97 kB / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3941, allocations: 0 / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.3942, allocations: 23.91 kB / 1.312 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.3942, allocations: 4 kB / 1.312 GB, free: 13.12 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001142/0.3944, allocations: 126.5 kB / 1.312 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.3944, allocations: 3.953 kB / 1.312 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/0.3949, allocations: 153.9 kB / 1.312 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.3949, allocations: 3.984 kB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3949, allocations: 3.938 kB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3949, allocations: 3.938 kB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.3951, allocations: 172.6 kB / 1.312 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3951, allocations: 3.984 kB / 1.312 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.3953, allocations: 23.97 kB / 1.312 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3953, allocations: 0 / 1.312 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3953, allocations: 4 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.3953, allocations: 4 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3953, allocations: 3.938 kB / 1.312 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.3958, allocations: 239.3 kB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.3958, allocations: 7.891 kB / 1.312 GB, free: 12.31 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.3958, allocations: 4 kB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.396, allocations: 11.98 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.3961, allocations: 27.91 kB / 1.312 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.3961, allocations: 7.984 kB / 1.312 GB, free: 12.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.695e-05/0.3961, allocations: 99.27 kB / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3961, allocations: 0 / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002453/0.3964, allocations: 16 kB / 1.313 GB, free: 12.14 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001351/0.3965, allocations: 95.25 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004313/0.397, allocations: 99.84 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.397, allocations: 4 kB / 1.313 GB, free: 11.94 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.3972, allocations: 59.94 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.3975, allocations: 10.34 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.398, allocations: 174 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.3984, allocations: 0.6962 MB / 1.314 GB, free: 10.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.614e-05/0.3985, allocations: 11.75 kB / 1.314 GB, free: 10.94 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.3985, allocations: 27.42 kB / 1.314 GB, free: 10.91 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.3985, allocations: 0 / 1.314 GB, free: 10.91 MB / 1.014 GB Notification: Performance of Templates: time 0.004689/0.4032, allocations: 1.611 MB / 1.315 GB, free: 9.309 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.828435750678182]