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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001259/0.001259, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.001279/0.00128, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 64.02 kB / 0.814 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2989, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002123/0.3011, allocations: 0.7806 MB / 0.9519 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.3022, allocations: 0.8721 MB / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-05/0.3023, allocations: 0 / 0.9527 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.3023, allocations: 7.938 kB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.067e-05/0.3024, allocations: 7.875 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.3026, allocations: 43.89 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.3028, allocations: 83.88 kB / 0.9529 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.3029, allocations: 23.98 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.366e-05/0.303, allocations: 43.84 kB / 0.953 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.644e-05/0.3031, allocations: 47.81 kB / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.3031, allocations: 11.94 kB / 0.953 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.3031, allocations: 8 kB / 0.953 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.944e-05/0.3031, allocations: 19.92 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.3032, allocations: 39.78 kB / 0.9531 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.3033, allocations: 83.72 kB / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3033, allocations: 0 / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3033, allocations: 0 / 0.9532 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.3034, allocations: 0 / 0.9532 GB, free: 5.953 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.0006345/0.304, allocations: 403.1 kB / 0.9535 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.304, allocations: 8.031 kB / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.3041, allocations: 8.844 kB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.3042, allocations: 180.2 kB / 0.9537 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.3043, allocations: 4.375 kB / 0.9537 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3043, allocations: 8.375 kB / 0.9537 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.3046, allocations: 109.7 kB / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.3046, allocations: 0 / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3046, allocations: 0 / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3046, allocations: 0 / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.305, allocations: 103.8 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.3055, allocations: 344.6 kB / 0.9543 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/0.3062, allocations: 126.5 kB / 0.9544 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.3063, allocations: 48.81 kB / 0.9544 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.3064, allocations: 0 / 0.9544 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.3064, allocations: 46.5 kB / 0.9545 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.3064, allocations: 0 / 0.9545 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.000626/0.307, allocations: 185.4 kB / 0.9547 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3071, allocations: 51.41 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.476e-05/0.3072, allocations: 129.8 kB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3072, allocations: 25.7 kB / 0.9549 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.3073, allocations: 100 kB / 0.9549 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.3073, allocations: 15.73 kB / 0.955 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.921e-05/0.3074, allocations: 25.7 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3075, allocations: 318.8 kB / 0.9553 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.3077, allocations: 43.95 kB / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.3079, allocations: 51.95 kB / 0.9554 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.3082, allocations: 100.7 kB / 0.9555 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3082, allocations: 0 / 0.9555 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003751/0.3086, allocations: 137.5 kB / 0.9556 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3086, allocations: 4 kB / 0.9556 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3086, allocations: 3.984 kB / 0.9556 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3086, allocations: 0 / 0.9556 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.3088, allocations: 23.97 kB / 0.9556 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3088, allocations: 0.5469 kB / 0.9556 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.3089, allocations: 15.92 kB / 0.9557 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.3089, allocations: 8 kB / 0.9557 GB, free: 3.152 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 0.0001058/0.309, allocations: 123.8 kB / 0.9558 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.3091, allocations: 3.906 kB / 0.9558 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004614/0.3095, allocations: 161.8 kB / 0.9559 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3096, allocations: 4 kB / 0.9559 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3096, allocations: 0 / 0.9559 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3096, allocations: 3.938 kB / 0.9559 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.3098, allocations: 201.5 kB / 0.9561 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3098, allocations: 0 / 0.9561 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.31, allocations: 31.89 kB / 0.9562 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.31, allocations: 0 / 0.9562 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.31, allocations: 0 / 0.9562 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.31, allocations: 4 kB / 0.9562 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.31, allocations: 0 / 0.9562 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.3105, allocations: 243.3 kB / 0.9564 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.3106, allocations: 81.02 kB / 0.9565 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.3106, allocations: 7.984 kB / 0.9565 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.3107, allocations: 7.984 kB / 0.9565 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.3108, allocations: 27.92 kB / 0.9565 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.3109, allocations: 15.92 kB / 0.9565 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.038e-05/0.3109, allocations: 95.27 kB / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3109, allocations: 0 / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002355/0.3112, allocations: 12 kB / 0.9566 GB, free: 2.051 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.0001312/0.3113, allocations: 103.2 kB / 0.9567 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004164/0.3117, allocations: 107.9 kB / 0.9568 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3117, allocations: 0 / 0.9568 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.3119, allocations: 67.88 kB / 0.9569 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.3123, allocations: 10.53 kB / 0.9569 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.3127, allocations: 170.4 kB / 0.9571 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.313, allocations: 0.6971 MB / 0.9578 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.231e-05/0.3131, allocations: 12 kB / 0.9578 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.3132, allocations: 19.42 kB / 0.9578 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.3132, allocations: 0 / 0.9578 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of Templates: time 0.004006/0.3172, allocations: 1.575 MB / 0.9593 GB, free: 15.23 MB / 0.7481 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 -s cvode -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