Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001094/0.001094, allocations: 110.5 kB / 16.41 MB, free: 6.504 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.00114/0.00114, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.2/2.2, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.89 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.043, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001785/1.045, allocations: 0.787 MB / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008968/1.046, allocations: 0.867 MB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/1.046, allocations: 2 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.498e-05/1.046, allocations: 5.156 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.575e-05/1.046, allocations: 10.28 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/1.047, allocations: 42.23 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000154/1.047, allocations: 87.5 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/1.047, allocations: 25.41 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/1.047, allocations: 36.33 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.698e-05/1.047, allocations: 48.83 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/1.047, allocations: 8.219 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.846e-05/1.047, allocations: 7.781 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/1.047, allocations: 23.72 kB / 1.091 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/1.047, allocations: 39.55 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/1.047, allocations: 86.95 kB / 1.091 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.047, allocations: 4 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.082e-06/1.047, allocations: 0.9062 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.412e-06/1.047, allocations: 0 / 1.091 GB, free: 4.117 MB / 0.8575 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.0005899/1.048, allocations: 388 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.048, allocations: 10.59 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/1.048, allocations: 8.094 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/1.048, allocations: 179.5 kB / 1.091 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/1.048, allocations: 7.062 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/1.048, allocations: 4.375 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/1.049, allocations: 109.1 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/1.049, allocations: 0 / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/1.049, allocations: 5.062 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/1.049, allocations: 1.75 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/1.049, allocations: 101.1 kB / 1.091 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/1.05, allocations: 349.9 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/1.05, allocations: 122 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/1.05, allocations: 55.66 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/1.05, allocations: 5.062 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/1.05, allocations: 32.17 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/1.05, allocations: 0 / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006911/1.051, allocations: 190.5 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/1.051, allocations: 53.08 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/1.051, allocations: 128.2 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/1.051, allocations: 25.7 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/1.051, allocations: 93.22 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/1.051, allocations: 19.97 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/1.051, allocations: 27.69 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.82e-05/1.052, allocations: 319 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/1.052, allocations: 43.91 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/1.052, allocations: 48.91 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/1.052, allocations: 100.3 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.052, allocations: 0.75 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004166/1.053, allocations: 143.1 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.053, allocations: 4.688 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/1.053, allocations: 0.75 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/1.053, allocations: 5.766 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/1.053, allocations: 23.58 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/1.053, allocations: 0.7969 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/1.053, allocations: 16.06 kB / 1.093 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/1.053, allocations: 3.422 kB / 1.093 GB, free: 2.172 MB / 0.8575 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.834e-05/1.053, allocations: 114.4 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/1.053, allocations: 8.047 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/1.054, allocations: 152.1 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/1.054, allocations: 1.688 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.054, allocations: 1.125 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.054, allocations: 4.734 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/1.054, allocations: 197.9 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.054, allocations: 0.5625 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/1.054, allocations: 36.16 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/1.054, allocations: 0.875 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/1.054, allocations: 2.406 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/1.054, allocations: 1.031 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.054, allocations: 0.625 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/1.055, allocations: 242.8 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/1.055, allocations: 84.81 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/1.055, allocations: 5.188 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/1.055, allocations: 12.27 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/1.055, allocations: 25.41 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/1.055, allocations: 3.297 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.766e-05/1.055, allocations: 96.61 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/1.055, allocations: 0 / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002421/1.055, allocations: 24.31 kB / 1.094 GB, free: 1.387 MB / 0.8575 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.0001188/1.055, allocations: 102.2 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004349/1.056, allocations: 107.4 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.056, allocations: 0 / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/1.056, allocations: 58.69 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/1.056, allocations: 9.875 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/1.057, allocations: 204.2 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/1.057, allocations: 0.6937 MB / 1.095 GB, free: 384 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.005e-05/1.057, allocations: 17.36 kB / 1.095 GB, free: 376 kB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/1.057, allocations: 4 kB / 1.095 GB, free: 372 kB / 0.8575 GB Notification: Performance of Templates: time 0.003415/1.06, allocations: 1.234 MB / 1.096 GB, free: 292 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches