Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.01069/0.01069, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001794/0.001794, allocations: 187.3 kB / 16.67 MB, free: 5.465 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.55/1.55, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.847/2.847, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 59.91 kB / 1.019 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4098, allocations: 151.6 MB / 1.167 GB, free: 6.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002027/0.4119, allocations: 0.7821 MB / 1.167 GB, free: 6.094 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.4131, allocations: 0.8663 MB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/0.4131, allocations: 0 / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.872e-05/0.4132, allocations: 7.875 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.4133, allocations: 15.86 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.4135, allocations: 35.95 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000142/0.4137, allocations: 91.77 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.4138, allocations: 27.97 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.37e-05/0.4139, allocations: 31.91 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.981e-05/0.414, allocations: 51.81 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.4141, allocations: 8 kB / 1.169 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.4141, allocations: 12 kB / 1.169 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.4141, allocations: 19.92 kB / 1.169 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.4142, allocations: 35.8 kB / 1.169 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.4144, allocations: 91.58 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.4144, allocations: 0 / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4144, allocations: 3.938 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.4144, allocations: 0 / 1.169 GB, free: 4.789 MB / 0.92 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.000707/0.4151, allocations: 395.1 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.4152, allocations: 15.97 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.661e-05/0.4152, allocations: 12.89 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.4154, allocations: 176.3 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.4155, allocations: 8.375 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.4155, allocations: 4.375 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.4158, allocations: 105.5 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4158, allocations: 3.938 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.4158, allocations: 4 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.4158, allocations: 4 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.4162, allocations: 95.89 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.4168, allocations: 340.7 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/0.4175, allocations: 126.5 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.4176, allocations: 52.81 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.4177, allocations: 4 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.4177, allocations: 34.55 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.4177, allocations: 0 / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006587/0.4184, allocations: 189.4 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.4184, allocations: 51.41 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.4185, allocations: 129.8 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.4186, allocations: 25.7 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.4186, allocations: 96.09 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.4187, allocations: 27.78 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.4187, allocations: 21.7 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4189, allocations: 322.8 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.419, allocations: 47.94 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.4192, allocations: 43.95 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.4195, allocations: 100.8 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4196, allocations: 0 / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003828/0.4199, allocations: 134 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.42, allocations: 7.984 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.42, allocations: 4 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.42, allocations: 0 / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.4202, allocations: 27.97 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4202, allocations: 4 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.4203, allocations: 11.92 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.4203, allocations: 4.078 kB / 1.171 GB, free: 1.988 MB / 0.92 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 9.023e-05/0.4204, allocations: 113.8 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.4205, allocations: 15.94 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/0.4209, allocations: 153.9 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4209, allocations: 0 / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.421, allocations: 0 / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.421, allocations: 7.938 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.4212, allocations: 197.5 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4213, allocations: 4 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.4214, allocations: 27.97 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4214, allocations: 0 / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.4214, allocations: 4 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.4215, allocations: 4 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4215, allocations: 0 / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.4219, allocations: 239.3 kB / 1.172 GB, free: 1.156 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.422, allocations: 92.98 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.4221, allocations: 4 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4222, allocations: 7.984 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.4223, allocations: 23.92 kB / 1.172 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.4223, allocations: 7.984 kB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.204e-05/0.4224, allocations: 91.27 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4224, allocations: 7.938 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002364/0.4227, allocations: 16 kB / 1.172 GB, free: 0.8906 MB / 0.92 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.0001708/0.4228, allocations: 99.25 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004476/0.4233, allocations: 111.8 kB / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.4233, allocations: 4 kB / 1.172 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.4235, allocations: 55.95 kB / 1.172 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.4238, allocations: 10.95 kB / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005215/0.4244, allocations: 174.1 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.4248, allocations: 0.6885 MB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.741e-05/0.4249, allocations: 12 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.4249, allocations: 19.42 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.425, allocations: 8 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of Templates: time 0.004919/0.4299, allocations: 1.575 MB / 1.175 GB, free: 14.09 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches