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.006526/0.006526, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001152/0.001152, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.264/2.264, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.91 kB / 0.9509 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9769/0.9782, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002039/0.9803, allocations: 0.7819 MB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00097/0.9812, allocations: 0.8632 MB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.9813, allocations: 1.219 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.965e-05/0.9814, allocations: 5.297 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.743e-05/0.9815, allocations: 11.55 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.9817, allocations: 45.41 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.9818, allocations: 88.25 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.982, allocations: 22.28 kB / 1.09 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.9821, allocations: 34.83 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.9822, allocations: 54.03 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.9822, allocations: 6.781 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.206e-05/0.9823, allocations: 12.34 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/0.9823, allocations: 19.39 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.9824, allocations: 39.97 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.9826, allocations: 86.77 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.9826, allocations: 0 / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.857e-06/0.9826, allocations: 0 / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.81e-06/0.9826, allocations: 3.938 kB / 1.09 GB, free: 4.137 MB / 0.8575 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.0007005/0.9833, allocations: 392.3 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.9834, allocations: 13.22 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.9834, allocations: 9.109 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.9836, allocations: 182.4 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.9836, allocations: 3.797 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.9836, allocations: 4.219 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.984, allocations: 113.4 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.984, allocations: 0 / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.984, allocations: 1.578 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.984, allocations: 5.062 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.9844, allocations: 93.66 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/0.9849, allocations: 348.4 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006306/0.9856, allocations: 122.4 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.9858, allocations: 51.98 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.9858, allocations: 1.641 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.9859, allocations: 40.34 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.9859, allocations: 4 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000741/0.9866, allocations: 178 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.9867, allocations: 57.88 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.9868, allocations: 122.8 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.9868, allocations: 27.08 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.9868, allocations: 101.6 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.9869, allocations: 15.8 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.9869, allocations: 23.8 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.868e-05/0.987, allocations: 318.1 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.9872, allocations: 47.92 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.9874, allocations: 54.17 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.9878, allocations: 100.4 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9878, allocations: 0 / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004398/0.9882, allocations: 134.6 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.9883, allocations: 9.438 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9883, allocations: 0.6562 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.9883, allocations: 0.7812 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.9885, allocations: 24.33 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.9885, allocations: 0.7812 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.9886, allocations: 23.84 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.9887, allocations: 7.75 kB / 1.092 GB, free: 2.18 MB / 0.8575 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.897e-05/0.9887, allocations: 122.4 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.9888, allocations: 2.594 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005159/0.9893, allocations: 153.8 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.9893, allocations: 4.922 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.9893, allocations: 0.9688 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.9893, allocations: 4.453 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.9895, allocations: 202.8 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.9895, allocations: 0 / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.9897, allocations: 29.09 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.9897, allocations: 0 / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.9897, allocations: 2.609 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.9897, allocations: 4.641 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9897, allocations: 0.75 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004584/0.9902, allocations: 239.4 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.9903, allocations: 83.95 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.9903, allocations: 1.281 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.9904, allocations: 11.97 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.547e-05/0.9905, allocations: 25.11 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.9905, allocations: 3.406 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.853e-05/0.9906, allocations: 97.56 kB / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.022e-06/0.9906, allocations: 0 / 1.093 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002345/0.9908, allocations: 24.17 kB / 1.093 GB, free: 1.395 MB / 0.8575 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.0001052/0.9909, allocations: 101.3 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004511/0.9914, allocations: 103.8 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.9914, allocations: 4.969 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.9916, allocations: 65.31 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.992, allocations: 5.484 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003833/0.9923, allocations: 170.5 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.9925, allocations: 0.694 MB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.793e-05/0.9926, allocations: 12.73 kB / 1.095 GB, free: 424 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.9926, allocations: 25.81 kB / 1.095 GB, free: 408 kB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.9926, allocations: 0 / 1.095 GB, free: 408 kB / 0.8575 GB Notification: Performance of Templates: time 0.004551/0.9972, allocations: 1.583 MB / 1.096 GB, free: 288 kB / 0.8575 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/jenkins/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