Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001257/0.001257, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001726/0.001726, allocations: 219.5 kB / 23.01 MB, free: 4.605 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.851/2.851, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002046/0.002046, allocations: 65.42 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3436, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002113/0.3457, allocations: 0.7874 MB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.3469, allocations: 0.8939 MB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.243e-05/0.3469, allocations: 0 / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.168e-05/0.347, allocations: 11.86 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.564e-05/0.3471, allocations: 11.92 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.3472, allocations: 43.89 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.3474, allocations: 83.83 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.3475, allocations: 27.91 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.151e-05/0.3476, allocations: 35.86 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.92e-05/0.3477, allocations: 51.81 kB / 1.287 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.3477, allocations: 12 kB / 1.287 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.621e-05/0.3477, allocations: 8 kB / 1.287 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.3478, allocations: 15.92 kB / 1.287 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.907e-05/0.3478, allocations: 39.8 kB / 1.287 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.348, allocations: 87.64 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.348, allocations: 0 / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.348, allocations: 0 / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.348, allocations: 3.938 kB / 1.287 GB, free: 9.125 MB / 0.9825 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.000662/0.3487, allocations: 322 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3487, allocations: 12.03 kB / 1.287 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.3487, allocations: 12.89 kB / 1.287 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.3489, allocations: 118.4 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3489, allocations: 8.375 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.3489, allocations: 4.375 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.3493, allocations: 110.8 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3493, allocations: 0 / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.3493, allocations: 12 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3493, allocations: 0 / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003601/0.3497, allocations: 95.84 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.3502, allocations: 311.7 kB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006165/0.3508, allocations: 122.5 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.351, allocations: 56.8 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3511, allocations: 0 / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.3511, allocations: 30.56 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3511, allocations: 4 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006795/0.3518, allocations: 177.5 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.3518, allocations: 51.41 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.3519, allocations: 125.8 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.352, allocations: 37.64 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.352, allocations: 96.08 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.3521, allocations: 19.83 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.3521, allocations: 29.7 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3523, allocations: 310.8 kB / 1.289 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.3524, allocations: 47.89 kB / 1.289 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.3526, allocations: 51.95 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.353, allocations: 97.23 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.353, allocations: 0 / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004258/0.3534, allocations: 141.5 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3534, allocations: 8 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3534, allocations: 0 / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3534, allocations: 0 / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.3536, allocations: 27.91 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3536, allocations: 0 / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.3537, allocations: 23.88 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.3538, allocations: 0 / 1.289 GB, free: 6.527 MB / 0.9825 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.0001138/0.3539, allocations: 121.8 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.3539, allocations: 4 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/0.3544, allocations: 149.9 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3544, allocations: 3.938 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3544, allocations: 0 / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3544, allocations: 7.938 kB / 1.289 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.3546, allocations: 176.6 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3546, allocations: 0 / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.3548, allocations: 23.97 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3548, allocations: 0 / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3548, allocations: 0 / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3548, allocations: 4 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.3548, allocations: 3.984 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004732/0.3553, allocations: 245.1 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.3553, allocations: 3.984 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.949e-05/0.3553, allocations: 3.984 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.3555, allocations: 19.92 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.3556, allocations: 31.84 kB / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3556, allocations: 0 / 1.29 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.975e-05/0.3556, allocations: 99.27 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3556, allocations: 0 / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002312/0.3559, allocations: 19.89 kB / 1.29 GB, free: 5.551 MB / 0.9825 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.0001398/0.356, allocations: 99.23 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004209/0.3564, allocations: 103.9 kB / 1.29 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3564, allocations: 0 / 1.29 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.3566, allocations: 59.89 kB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.357, allocations: 10.94 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.3575, allocations: 187.9 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.3578, allocations: 0.7001 MB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.3579, allocations: 19.42 kB / 1.291 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of SimCode: time 7.32e-07/0.3579, allocations: 0 / 1.291 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of Templates: time 0.003077/0.361, allocations: 1.235 MB / 1.292 GB, free: 3.086 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.404544365999755]