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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 183.5 kB / 498.1 MB, free: 5.781 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.712/1.712, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009869/0.0009868, allocations: 106.8 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004033, allocations: 10.31 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3086, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1848/0.4935, allocations: 149.1 MB / 1.369 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.4938, allocations: 71.91 kB / 1.369 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004243/0.498, allocations: 1.426 MB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.104e-06/0.498, allocations: 4 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.4981, allocations: 4 kB / 1.37 GB, free: 11.44 MB / 0.8698 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.000551/0.4986, allocations: 391.1 kB / 1.37 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4987, allocations: 12.03 kB / 1.37 GB, free: 11 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.4987, allocations: 11.89 kB / 1.37 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.4989, allocations: 186.9 kB / 1.371 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.4989, allocations: 8 kB / 1.371 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.4989, allocations: 0 / 1.371 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.4992, allocations: 109.6 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4992, allocations: 4 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.4993, allocations: 4 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.4993, allocations: 0 / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003772/0.4997, allocations: 123.9 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.5003, allocations: 344.6 kB / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006162/0.5009, allocations: 134.5 kB / 1.371 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.5009, allocations: 0 / 1.371 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.501, allocations: 34.56 kB / 1.371 GB, free: 9.945 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.501, allocations: 4 kB / 1.371 GB, free: 9.941 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0007138/0.5017, allocations: 221.8 kB / 1.372 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.5017, allocations: 51.41 kB / 1.372 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.5018, allocations: 109 kB / 1.372 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.5019, allocations: 29.7 kB / 1.372 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.5019, allocations: 104 kB / 1.372 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.502, allocations: 19.66 kB / 1.372 GB, free: 9.383 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-06/0.502, allocations: 4 kB / 1.372 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5021, allocations: 318.8 kB / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.5023, allocations: 55.89 kB / 1.372 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.5025, allocations: 64.02 kB / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.5026, allocations: 55.95 kB / 1.372 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5027, allocations: 0 / 1.372 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004237/0.5031, allocations: 157.6 kB / 1.372 GB, free: 8.727 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.5031, allocations: 4 kB / 1.372 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.5031, allocations: 0 / 1.372 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5031, allocations: 0 / 1.372 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.5033, allocations: 35.92 kB / 1.372 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.5034, allocations: 3.984 kB / 1.372 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.5035, allocations: 27.89 kB / 1.372 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.5035, allocations: 0 / 1.372 GB, free: 8.656 MB / 0.8698 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 (max1.u1,max1.u2,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.5036, allocations: 121.7 kB / 1.373 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.5037, allocations: 4 kB / 1.373 GB, free: 8.523 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004884/0.5042, allocations: 173.8 kB / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5042, allocations: 8 kB / 1.373 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.5042, allocations: 3.953 kB / 1.373 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5042, allocations: 0 / 1.373 GB, free: 8.332 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.5044, allocations: 201.5 kB / 1.373 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.5044, allocations: 4 kB / 1.373 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.5046, allocations: 31.97 kB / 1.373 GB, free: 8.051 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5046, allocations: 3.938 kB / 1.373 GB, free: 8.047 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.5046, allocations: 4 kB / 1.373 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.5046, allocations: 0 / 1.373 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5046, allocations: 4 kB / 1.373 GB, free: 8.039 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.5051, allocations: 255.3 kB / 1.373 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.5052, allocations: 81.11 kB / 1.373 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.5052, allocations: 0 / 1.373 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.5053, allocations: 23.97 kB / 1.373 GB, free: 7.652 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.5054, allocations: 19.97 kB / 1.373 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.5054, allocations: 4 kB / 1.373 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.086e-05/0.5055, allocations: 99.27 kB / 1.373 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5055, allocations: 0 / 1.373 GB, free: 7.531 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002287/0.5057, allocations: 19.86 kB / 1.374 GB, free: 7.512 MB / 0.8698 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.u1,max1.u2,max1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001456/0.5059, allocations: 111 kB / 1.374 GB, free: 7.395 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004139/0.5063, allocations: 127.9 kB / 1.374 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5063, allocations: 0 / 1.374 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.5065, allocations: 71.95 kB / 1.374 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.5067, allocations: 17.58 kB / 1.374 GB, free: 7.184 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004075/0.5072, allocations: 195.6 kB / 1.374 GB, free: 6.965 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.5074, allocations: 0.6965 MB / 1.375 GB, free: 6.242 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.353e-05/0.5075, allocations: 12.19 kB / 1.375 GB, free: 6.227 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.5075, allocations: 15.42 kB / 1.375 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of SimCode: time 2e-07/0.5075, allocations: 0 / 1.375 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of Templates: time 0.003462/0.511, allocations: 1.306 MB / 1.376 GB, free: 4.918 MB / 0.8698 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches