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.001156/0.001156, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 199.6 kB / 16.79 MB, free: 6.809 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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.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.405/2.405, allocations: 390.2 MB / 0.6649 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 71.88 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.686/0.6874, allocations: 140.4 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001944/0.6894, allocations: 0.8264 MB / 0.9504 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008635/0.6903, allocations: 0.8615 MB / 0.9512 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.6903, allocations: 1.031 kB / 0.9512 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.701e-05/0.6904, allocations: 3.984 kB / 0.9513 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.6905, allocations: 9.844 kB / 0.9513 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.6907, allocations: 34.52 kB / 0.9513 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.6908, allocations: 82.92 kB / 0.9514 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.691, allocations: 24.86 kB / 0.9514 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.805e-05/0.6911, allocations: 33.5 kB / 0.9514 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.6912, allocations: 48.95 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.6912, allocations: 4.969 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.44e-05/0.6913, allocations: 4.594 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.342e-05/0.6913, allocations: 19.56 kB / 0.9515 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.692e-05/0.6914, allocations: 38.28 kB / 0.9515 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.6915, allocations: 60.12 kB / 0.9516 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6915, allocations: 0 / 0.9516 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6915, allocations: 4 kB / 0.9516 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.6915, allocations: 0 / 0.9516 GB, free: 7.539 MB / 0.7169 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.0006702/0.6922, allocations: 394.9 kB / 0.952 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.6922, allocations: 9.906 kB / 0.952 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.6923, allocations: 11.61 kB / 0.952 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.6924, allocations: 177.8 kB / 0.9522 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.6924, allocations: 7.188 kB / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.6925, allocations: 7.188 kB / 0.9522 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.6928, allocations: 112.8 kB / 0.9523 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.6928, allocations: 0 / 0.9523 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.6928, allocations: 5.031 kB / 0.9523 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.6928, allocations: 1.531 kB / 0.9523 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003716/0.6932, allocations: 95.7 kB / 0.9524 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.6937, allocations: 351.5 kB / 0.9527 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.6943, allocations: 125.5 kB / 0.9528 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.6945, allocations: 60.3 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.6946, allocations: 0 / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.6946, allocations: 31.94 kB / 0.9529 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.6946, allocations: 0 / 0.9529 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006686/0.6953, allocations: 185.2 kB / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.6953, allocations: 52.47 kB / 0.9532 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/0.6954, allocations: 129.1 kB / 0.9533 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.6954, allocations: 25.7 kB / 0.9533 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.6955, allocations: 95.33 kB / 0.9534 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.6955, allocations: 22.5 kB / 0.9534 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.6956, allocations: 32.78 kB / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.198e-05/0.6956, allocations: 324.5 kB / 0.9538 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.6958, allocations: 43.86 kB / 0.9538 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.696, allocations: 48.62 kB / 0.9538 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.6964, allocations: 98.19 kB / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6964, allocations: 0 / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003947/0.6968, allocations: 135.9 kB / 0.9541 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.6968, allocations: 5.719 kB / 0.9541 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.6968, allocations: 0 / 0.9541 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.6968, allocations: 5.406 kB / 0.9541 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.697, allocations: 27.59 kB / 0.9541 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.697, allocations: 3.938 kB / 0.9541 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.6971, allocations: 15.92 kB / 0.9541 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.6972, allocations: 2.625 kB / 0.9541 GB, free: 5.289 MB / 0.7169 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 7.801e-05/0.6972, allocations: 116.5 kB / 0.9542 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.6973, allocations: 15.2 kB / 0.9543 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004586/0.6977, allocations: 155.1 kB / 0.9544 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.6978, allocations: 1.031 kB / 0.9544 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.6978, allocations: 1 kB / 0.9544 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.6978, allocations: 3.938 kB / 0.9544 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.698, allocations: 195.9 kB / 0.9546 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.698, allocations: 0 / 0.9546 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.6981, allocations: 32.47 kB / 0.9546 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6981, allocations: 1.25 kB / 0.9546 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.6982, allocations: 1.25 kB / 0.9546 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.6982, allocations: 3.984 kB / 0.9546 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6982, allocations: 0 / 0.9546 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.6986, allocations: 240.7 kB / 0.9549 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.6986, allocations: 77.95 kB / 0.9549 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.6987, allocations: 5.406 kB / 0.9549 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.6988, allocations: 11.33 kB / 0.9549 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/0.6989, allocations: 18.5 kB / 0.955 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.6989, allocations: 14.62 kB / 0.955 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.949e-05/0.699, allocations: 92.7 kB / 0.9551 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.699, allocations: 0 / 0.9551 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002355/0.6992, allocations: 23.94 kB / 0.9551 GB, free: 4.398 MB / 0.7169 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.0001173/0.6993, allocations: 104.6 kB / 0.9552 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004219/0.6998, allocations: 106.9 kB / 0.9553 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6998, allocations: 0 / 0.9553 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.7, allocations: 61.02 kB / 0.9554 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.7003, allocations: 12.7 kB / 0.9554 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.7008, allocations: 211.9 kB / 0.9556 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.7009, allocations: 0.6933 MB / 0.9562 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.059e-05/0.701, allocations: 22.02 kB / 0.9563 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of SimCode: time 9.62e-07/0.701, allocations: 0 / 0.9563 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of Templates: time 0.002742/0.7037, allocations: 1.231 MB / 0.9575 GB, free: 2.664 MB / 0.7169 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