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.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.001794/0.001794, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.002166/0.002166, allocations: 160.4 kB / 23.01 MB, free: 4.598 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.465/1.465, allocations: 177.2 MB / 203.4 MB, free: 8.91 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.942/2.942, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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: 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.002107/0.002107, allocations: 71.89 kB / 0.982 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.034, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002095/1.036, allocations: 0.7479 MB / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009484/1.037, allocations: 0.8827 MB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/1.037, allocations: 3 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.938e-05/1.037, allocations: 11.3 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/1.037, allocations: 11.86 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/1.037, allocations: 42.91 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/1.038, allocations: 87.97 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/1.038, allocations: 26.77 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 8.729e-05/1.038, allocations: 39.66 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.164e-05/1.038, allocations: 45.77 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/1.038, allocations: 7.719 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.892e-05/1.038, allocations: 7.625 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.832e-05/1.038, allocations: 18.02 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/1.038, allocations: 36.06 kB / 1.156 GB, free: 32.04 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001379/1.038, allocations: 86.92 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.038, allocations: 4 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/1.038, allocations: 0 / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.362e-06/1.038, allocations: 0 / 1.156 GB, free: 32.01 MB / 1.076 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.0006171/1.039, allocations: 323.5 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/1.039, allocations: 8.406 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/1.039, allocations: 7.797 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/1.039, allocations: 119.5 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/1.039, allocations: 11.23 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/1.039, allocations: 6.156 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/1.039, allocations: 113.5 kB / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.039, allocations: 0 / 1.156 GB, free: 31.51 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/1.039, allocations: 6.875 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/1.039, allocations: 0 / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/1.04, allocations: 95.59 kB / 1.157 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004428/1.04, allocations: 270.8 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005934/1.041, allocations: 119.8 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/1.041, allocations: 51.38 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/1.041, allocations: 0 / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/1.041, allocations: 37.53 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 9.71e-07/1.041, allocations: 0 / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0006252/1.042, allocations: 183.5 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/1.042, allocations: 58.41 kB / 1.157 GB, free: 31.01 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.871e-05/1.042, allocations: 118.2 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/1.042, allocations: 25.7 kB / 1.157 GB, free: 30.87 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/1.042, allocations: 94.81 kB / 1.158 GB, free: 30.78 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/1.042, allocations: 17.92 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-05/1.042, allocations: 29.2 kB / 1.158 GB, free: 30.74 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.792e-05/1.042, allocations: 321.9 kB / 1.158 GB, free: 30.42 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/1.042, allocations: 53.67 kB / 1.158 GB, free: 30.41 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/1.042, allocations: 44.86 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/1.042, allocations: 100.1 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.042, allocations: 6.75 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003756/1.043, allocations: 136 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/1.043, allocations: 5.156 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/1.043, allocations: 3.938 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/1.043, allocations: 3.281 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/1.043, allocations: 27.31 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/1.043, allocations: 0 / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/1.043, allocations: 23.17 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/1.043, allocations: 3.938 kB / 1.158 GB, free: 30.29 MB / 1.076 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 6.569e-05/1.043, allocations: 116 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/1.043, allocations: 2.531 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/1.044, allocations: 158.9 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/1.044, allocations: 0 / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/1.044, allocations: 0 / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/1.044, allocations: 2.953 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/1.044, allocations: 136.2 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.044, allocations: 0 / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/1.044, allocations: 28.69 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.044, allocations: 2.719 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/1.044, allocations: 0 / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/1.044, allocations: 4 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.044, allocations: 0 / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004055/1.044, allocations: 242.3 kB / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/1.044, allocations: 2.75 kB / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/1.044, allocations: 6.688 kB / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/1.045, allocations: 11.75 kB / 1.159 GB, free: 29.78 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/1.045, allocations: 20.39 kB / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/1.045, allocations: 6.625 kB / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.769e-05/1.045, allocations: 93.5 kB / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.045, allocations: 0 / 1.159 GB, free: 29.69 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002338/1.045, allocations: 24.67 kB / 1.159 GB, free: 29.68 MB / 1.076 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 9.894e-05/1.045, allocations: 103.1 kB / 1.159 GB, free: 29.59 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003966/1.045, allocations: 117 kB / 1.159 GB, free: 29.55 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.045, allocations: 0 / 1.159 GB, free: 29.55 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/1.046, allocations: 54.06 kB / 1.159 GB, free: 29.55 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/1.046, allocations: 9.5 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/1.046, allocations: 169.3 kB / 1.159 GB, free: 29.4 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.22e-05/1.046, allocations: 80.05 kB / 1.16 GB, free: 29.33 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.79e-05/1.046, allocations: 24.39 kB / 1.16 GB, free: 29.31 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/1.047, allocations: 21.66 kB / 1.16 GB, free: 29.3 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/1.047, allocations: 4 kB / 1.16 GB, free: 29.3 MB / 1.076 GB Notification: Performance of Templates: time 0.004268/1.051, allocations: 1.701 MB / 1.161 GB, free: 29.14 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.186011223937385]