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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008482/0.008482, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.001887/0.001887, allocations: 203 kB / 16.68 MB, free: 5.969 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.717/2.717, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.349, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00201/0.351, allocations: 0.7875 MB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.352, allocations: 0.8584 MB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.352, allocations: 0 / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.686e-05/0.3521, allocations: 7.922 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.652e-05/0.3522, allocations: 11.88 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.3524, allocations: 43.94 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.3525, allocations: 83.77 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3526, allocations: 27.97 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.428e-05/0.3527, allocations: 35.84 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.161e-05/0.3528, allocations: 51.81 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.3528, allocations: 8 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.626e-05/0.3528, allocations: 8 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.3529, allocations: 23.91 kB / 1.223 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.3529, allocations: 31.86 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.3531, allocations: 91.53 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3531, allocations: 0 / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3531, allocations: 0 / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3531, allocations: 4 kB / 1.223 GB, free: 11.72 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.0006354/0.3537, allocations: 395.1 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3538, allocations: 12.03 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.3538, allocations: 8.891 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.354, allocations: 176.3 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.354, allocations: 12.31 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.354, allocations: 384 / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.3543, allocations: 113.5 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.3543, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.3543, allocations: 7.984 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3543, allocations: 4 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.3547, allocations: 91.91 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.3553, allocations: 348.6 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.3559, allocations: 114.6 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.3561, allocations: 48.81 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3561, allocations: 11.98 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.3562, allocations: 30.56 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3562, allocations: 3.938 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007026/0.3569, allocations: 185.4 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3569, allocations: 55.41 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.3571, allocations: 126 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.3571, allocations: 25.7 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/0.3572, allocations: 100.1 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.3572, allocations: 15.86 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.3573, allocations: 29.7 kB / 1.224 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.3574, allocations: 318.8 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.3576, allocations: 47.95 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.3578, allocations: 43.95 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.3581, allocations: 96.78 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3581, allocations: 0 / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003982/0.3585, allocations: 149.9 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3586, allocations: 8 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3586, allocations: 80 / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.3586, allocations: 4 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.3588, allocations: 23.97 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3588, allocations: 3.984 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.3589, allocations: 23.86 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.3589, allocations: 7.984 kB / 1.225 GB, free: 8.91 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 9.898e-05/0.359, allocations: 113.8 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.359, allocations: 7.953 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005083/0.3596, allocations: 153.9 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3596, allocations: 0 / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.3596, allocations: 3.984 kB / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3596, allocations: 3.938 kB / 1.225 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.3598, allocations: 197.6 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3598, allocations: 0 / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.36, allocations: 27.91 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.36, allocations: 3.938 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.36, allocations: 3.984 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.36, allocations: 4 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.36, allocations: 0 / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004725/0.3605, allocations: 239.3 kB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.3605, allocations: 85.06 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.3606, allocations: 0 / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.3607, allocations: 15.98 kB / 1.226 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-05/0.3608, allocations: 27.91 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.3608, allocations: 0 / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.077e-05/0.3609, allocations: 103.3 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3609, allocations: 0 / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002323/0.3611, allocations: 12 kB / 1.226 GB, free: 7.82 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.000191/0.3613, allocations: 103.2 kB / 1.226 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004397/0.3617, allocations: 111.8 kB / 1.226 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3617, allocations: 0 / 1.226 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.3619, allocations: 67.92 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.3622, allocations: 4 kB / 1.226 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.3627, allocations: 177.9 kB / 1.227 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.363, allocations: 0.6885 MB / 1.227 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.916e-05/0.3631, allocations: 15.98 kB / 1.227 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.291e-05/0.3632, allocations: 23.42 kB / 1.227 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3632, allocations: 0 / 1.227 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of Templates: time 0.004198/0.3674, allocations: 1.58 MB / 1.229 GB, free: 5.004 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches