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.001466/0.001466, allocations: 101.7 kB / 15.98 MB, free: 6.355 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.001634/0.001634, allocations: 197.3 kB / 16.91 MB, free: 6.188 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.358/1.358, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.225/2.225, allocations: 390.2 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 65.73 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2946, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002368/0.297, allocations: 0.8401 MB / 0.9506 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.2982, allocations: 0.8663 MB / 0.9514 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.638e-05/0.2983, allocations: 0 / 0.9514 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.724e-05/0.2984, allocations: 3.938 kB / 0.9515 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.915e-05/0.2985, allocations: 3.938 kB / 0.9515 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.2987, allocations: 43.95 kB / 0.9515 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.2988, allocations: 83.77 kB / 0.9516 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.299, allocations: 23.98 kB / 0.9516 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.221e-05/0.2991, allocations: 43.83 kB / 0.9516 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.992e-05/0.2992, allocations: 43.83 kB / 0.9517 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.2992, allocations: 8 kB / 0.9517 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/0.2992, allocations: 12 kB / 0.9517 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.2993, allocations: 23.97 kB / 0.9517 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.158e-05/0.2993, allocations: 35.8 kB / 0.9518 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.2995, allocations: 59.86 kB / 0.9518 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2995, allocations: 3.938 kB / 0.9518 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2995, allocations: 0 / 0.9518 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.2995, allocations: 0 / 0.9518 GB, free: 7.121 MB / 0.7325 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.0006983/0.3002, allocations: 395.4 kB / 0.9522 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3002, allocations: 12.03 kB / 0.9522 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.3003, allocations: 8.844 kB / 0.9522 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.3005, allocations: 176.2 kB / 0.9524 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.3005, allocations: 8.375 kB / 0.9524 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.3006, allocations: 8.359 kB / 0.9524 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.3009, allocations: 109.7 kB / 0.9525 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3009, allocations: 0 / 0.9525 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.3009, allocations: 4 kB / 0.9525 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.301, allocations: 8 kB / 0.9525 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.3013, allocations: 91.84 kB / 0.9526 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.3019, allocations: 352.6 kB / 0.9529 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006544/0.3026, allocations: 118.5 kB / 0.9531 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.3028, allocations: 56.81 kB / 0.9531 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.3029, allocations: 0 / 0.9531 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3029, allocations: 34.56 kB / 0.9531 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.3029, allocations: 0 / 0.9531 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0007007/0.3036, allocations: 189.4 kB / 0.9533 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.3037, allocations: 51.41 kB / 0.9534 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.3038, allocations: 125.8 kB / 0.9535 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.3038, allocations: 25.7 kB / 0.9535 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.009e-05/0.3039, allocations: 99.98 kB / 0.9536 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.304, allocations: 19.75 kB / 0.9536 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.909e-05/0.304, allocations: 25.64 kB / 0.9537 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3041, allocations: 326.8 kB / 0.954 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.3043, allocations: 47.95 kB / 0.954 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.3045, allocations: 43.95 kB / 0.9541 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.3049, allocations: 92.78 kB / 0.9541 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3049, allocations: 0 / 0.9541 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004196/0.3053, allocations: 141.9 kB / 0.9543 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.3053, allocations: 7.938 kB / 0.9543 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3054, allocations: 0 / 0.9543 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3054, allocations: 4 kB / 0.9543 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.3056, allocations: 27.97 kB / 0.9543 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3056, allocations: 0 / 0.9543 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.3057, allocations: 23.91 kB / 0.9543 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.3058, allocations: 4.078 kB / 0.9543 GB, free: 4.312 MB / 0.7325 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.68e-05/0.3059, allocations: 113.8 kB / 0.9545 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.3059, allocations: 7.906 kB / 0.9545 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/0.3064, allocations: 157.8 kB / 0.9546 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3064, allocations: 4 kB / 0.9546 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3064, allocations: 4 kB / 0.9546 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3064, allocations: 3.938 kB / 0.9546 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.3066, allocations: 193.6 kB / 0.9548 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3067, allocations: 3.984 kB / 0.9548 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.3068, allocations: 27.97 kB / 0.9548 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3069, allocations: 4 kB / 0.9548 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.3069, allocations: 0 / 0.9548 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.3069, allocations: 0 / 0.9548 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3069, allocations: 0 / 0.9548 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.3074, allocations: 243.2 kB / 0.9551 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/0.3075, allocations: 85.02 kB / 0.9552 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.3075, allocations: 4 kB / 0.9552 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.3077, allocations: 11.98 kB / 0.9552 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/0.3078, allocations: 23.97 kB / 0.9552 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.3078, allocations: 7.938 kB / 0.9552 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.941e-05/0.3078, allocations: 91.27 kB / 0.9553 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3078, allocations: 0 / 0.9553 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002542/0.3081, allocations: 16 kB / 0.9553 GB, free: 3.23 MB / 0.7325 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.0001661/0.3083, allocations: 103.2 kB / 0.9554 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004542/0.3087, allocations: 107.8 kB / 0.9555 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3087, allocations: 0 / 0.9555 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.309, allocations: 59.94 kB / 0.9556 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.3093, allocations: 15.88 kB / 0.9556 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.3099, allocations: 216 kB / 0.9558 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.3101, allocations: 0.6961 MB / 0.9565 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.3102, allocations: 15.44 kB / 0.9565 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of SimCode: time 1.884e-06/0.3102, allocations: 0 / 0.9565 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of Templates: time 0.003044/0.3133, allocations: 1.238 MB / 0.9577 GB, free: 0.7188 MB / 0.7325 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