Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 104.1 kB / 16.35 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 190.5 kB / 17.29 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 437.1 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 68.23 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3569, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002612/0.3595, allocations: 0.7876 MB / 1.02 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.3609, allocations: 0.8701 MB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.696e-05/0.361, allocations: 0 / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.592e-05/0.3611, allocations: 7.875 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.965e-05/0.3612, allocations: 11.88 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.3615, allocations: 43.94 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.3616, allocations: 83.73 kB / 1.021 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.3618, allocations: 27.98 kB / 1.021 GB, free: 8.027 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.3619, allocations: 43.83 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.679e-05/0.362, allocations: 47.83 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.3621, allocations: 8 kB / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.892e-05/0.3621, allocations: 8 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.488e-05/0.3621, allocations: 19.91 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.3622, allocations: 35.8 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.3624, allocations: 91.66 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3624, allocations: 4 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3624, allocations: 0 / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.3624, allocations: 0 / 1.021 GB, free: 7.773 MB / 0.795 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.0007108/0.3631, allocations: 387.2 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.3632, allocations: 8.922 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.3632, allocations: 8.844 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.3634, allocations: 188.2 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.3634, allocations: 4.375 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.3634, allocations: 4.375 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/0.3638, allocations: 108.1 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3638, allocations: 0 / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.3638, allocations: 4 kB / 1.022 GB, free: 6.988 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.3638, allocations: 7.938 kB / 1.022 GB, free: 6.98 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.3642, allocations: 99.84 kB / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000631/0.3648, allocations: 340.7 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006455/0.3655, allocations: 122.5 kB / 1.022 GB, free: 6.371 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.3657, allocations: 58.34 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.3657, allocations: 3.984 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.3658, allocations: 30.56 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3658, allocations: 0 / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0006464/0.3664, allocations: 189.4 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.3665, allocations: 51.41 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.3666, allocations: 125.8 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.3666, allocations: 29.64 kB / 1.023 GB, free: 5.848 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.3667, allocations: 92.05 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.3667, allocations: 19.75 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.3667, allocations: 21.7 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3669, allocations: 330.8 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001801/0.3671, allocations: 43.95 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.3673, allocations: 43.95 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.3676, allocations: 104.8 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3676, allocations: 0 / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003884/0.368, allocations: 137.5 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.368, allocations: 4 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.368, allocations: 0 / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3681, allocations: 4 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.3682, allocations: 27.97 kB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3682, allocations: 0 / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.3684, allocations: 19.91 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3684, allocations: 0 / 1.023 GB, free: 4.988 MB / 0.795 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.0001049/0.3685, allocations: 113.8 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.3686, allocations: 7.906 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004708/0.369, allocations: 162.4 kB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.369, allocations: 0 / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3691, allocations: 4 kB / 1.024 GB, free: 4.691 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3691, allocations: 3.938 kB / 1.024 GB, free: 4.688 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.3693, allocations: 205.5 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3693, allocations: 0 / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.3695, allocations: 23.97 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.3695, allocations: 8 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3695, allocations: 0 / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3695, allocations: 0 / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3695, allocations: 0 / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004473/0.37, allocations: 239.3 kB / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.37, allocations: 97 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.37, allocations: 0 / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.3702, allocations: 15.97 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.3703, allocations: 15.98 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.3703, allocations: 7.938 kB / 1.024 GB, free: 4.004 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.375e-05/0.3704, allocations: 91.27 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3704, allocations: 0 / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002606/0.3707, allocations: 16 kB / 1.024 GB, free: 3.898 MB / 0.795 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.0002408/0.3709, allocations: 111.2 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000431/0.3713, allocations: 103.8 kB / 1.024 GB, free: 3.68 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3713, allocations: 0 / 1.024 GB, free: 3.68 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.3716, allocations: 71.86 kB / 1.025 GB, free: 3.609 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.372, allocations: 8 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005406/0.3725, allocations: 170.2 kB / 1.025 GB, free: 3.402 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.3728, allocations: 0.6924 MB / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 6.89e-05/0.3729, allocations: 12 kB / 1.025 GB, free: 2.672 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.974e-05/0.373, allocations: 19.42 kB / 1.025 GB, free: 2.652 MB / 0.795 GB Notification: Performance of SimCode: time 4.91e-07/0.373, allocations: 0 / 1.025 GB, free: 2.652 MB / 0.795 GB Notification: Performance of Templates: time 0.004541/0.3775, allocations: 1.575 MB / 1.027 GB, free: 1.09 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches