Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001126/0.001126, allocations: 113.9 kB / 16.41 MB, free: 6.484 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.001367/0.001367, allocations: 189.5 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.491/2.491, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 60.05 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6962/0.6976, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001827/0.6994, allocations: 0.777 MB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009875/0.7005, allocations: 0.8662 MB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.463e-05/0.7005, allocations: 8 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.7006, allocations: 7.875 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.387e-05/0.7007, allocations: 7.922 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.7008, allocations: 43.89 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.701, allocations: 83.81 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.7011, allocations: 27.98 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.241e-05/0.7012, allocations: 35.8 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.622e-05/0.7013, allocations: 55.81 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.7013, allocations: 8 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.7013, allocations: 8 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.7013, allocations: 19.91 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.7014, allocations: 35.84 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.7015, allocations: 87.67 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7015, allocations: 3.984 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7015, allocations: 0 / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.389e-06/0.7015, allocations: 0 / 1.21 GB, free: 11.57 MB / 0.9356 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.0005734/0.7021, allocations: 385 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.7022, allocations: 12.03 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.7022, allocations: 12.83 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.7023, allocations: 180.2 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.7024, allocations: 4.375 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.7024, allocations: 4.375 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.7027, allocations: 109.5 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.7027, allocations: 0 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.7027, allocations: 4 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.7027, allocations: 4 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.7031, allocations: 95.89 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.7037, allocations: 352.5 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006249/0.7043, allocations: 122.5 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.7045, allocations: 56.81 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.7045, allocations: 4 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.7046, allocations: 34.5 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.7046, allocations: 0 / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0006507/0.7052, allocations: 177.5 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.7053, allocations: 55.41 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.7054, allocations: 133.7 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.7054, allocations: 25.7 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.7055, allocations: 104 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.7055, allocations: 19.75 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.7055, allocations: 21.7 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.7056, allocations: 322.8 kB / 1.213 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.7058, allocations: 47.95 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.706, allocations: 47.94 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.7064, allocations: 93.25 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7064, allocations: 0 / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004151/0.7068, allocations: 145.5 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.7068, allocations: 4 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.7068, allocations: 4 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.7068, allocations: 0 / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.707, allocations: 27.91 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.707, allocations: 0 / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.7072, allocations: 19.92 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.7072, allocations: 3.984 kB / 1.213 GB, free: 8.773 MB / 0.9356 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 8.35e-05/0.7073, allocations: 113.8 kB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.7073, allocations: 7.906 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004655/0.7078, allocations: 145.9 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.7078, allocations: 8 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.7078, allocations: 0 / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.7078, allocations: 3.938 kB / 1.213 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.708, allocations: 197.5 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.708, allocations: 3.938 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.7082, allocations: 31.97 kB / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.7082, allocations: 0 / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.7082, allocations: 3.984 kB / 1.213 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.7082, allocations: 3.938 kB / 1.213 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7082, allocations: 4 kB / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.7087, allocations: 231.4 kB / 1.214 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.7087, allocations: 85.02 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.7088, allocations: 4 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.7089, allocations: 15.98 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.709, allocations: 23.91 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.709, allocations: 8 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.298e-05/0.7091, allocations: 99.2 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7091, allocations: 3.938 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002334/0.7093, allocations: 19.94 kB / 1.214 GB, free: 7.676 MB / 0.9356 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.000108/0.7094, allocations: 95.25 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004255/0.7098, allocations: 108 kB / 1.214 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7099, allocations: 0 / 1.214 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.7101, allocations: 59.89 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.7104, allocations: 17.86 kB / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.7108, allocations: 205.3 kB / 1.214 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.711, allocations: 0.6924 MB / 1.215 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.351e-05/0.7111, allocations: 15.42 kB / 1.215 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.7111, allocations: 0 / 1.215 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of Templates: time 0.002593/0.7137, allocations: 1.238 MB / 1.216 GB, free: 5.199 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches