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.00213/0.00213, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002/0.002, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.583/1.583, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.888/2.888, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 71.88 kB / 0.8686 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7778/0.78, allocations: 151.6 MB / 1.017 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002466/0.7825, allocations: 0.838 MB / 1.017 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.7838, allocations: 0.8662 MB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.7839, allocations: 4 kB / 1.018 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.022e-05/0.784, allocations: 3.938 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.7841, allocations: 3.938 kB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.7843, allocations: 39.95 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.7844, allocations: 83.77 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.7846, allocations: 35.86 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.606e-05/0.7847, allocations: 27.92 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.7848, allocations: 47.81 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.7849, allocations: 4 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.027e-05/0.7849, allocations: 4 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.7849, allocations: 23.91 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.893e-05/0.785, allocations: 31.8 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.7852, allocations: 79.72 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.7852, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7852, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.7852, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.7637 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.0008045/0.786, allocations: 393.4 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.786, allocations: 15.97 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.7861, allocations: 8.844 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.7863, allocations: 176.2 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.7863, allocations: 8.375 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.7864, allocations: 4.375 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.7867, allocations: 109.7 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.7867, allocations: 0 / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.7867, allocations: 8 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.7867, allocations: 0 / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003903/0.7871, allocations: 99.83 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006278/0.7878, allocations: 344.6 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006417/0.7884, allocations: 118.5 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.7886, allocations: 60.81 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.7887, allocations: 3.984 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.7887, allocations: 34.56 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.865e-06/0.7887, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006741/0.7894, allocations: 181.4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.7895, allocations: 59.39 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.7896, allocations: 121.8 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.7896, allocations: 29.7 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/0.7897, allocations: 92.03 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.7897, allocations: 19.75 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.7898, allocations: 33.64 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.79, allocations: 326.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.7902, allocations: 43.95 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.7904, allocations: 48.25 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.7907, allocations: 104.8 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7907, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004036/0.7911, allocations: 129.5 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.7911, allocations: 8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.7912, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.7912, allocations: 3.938 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.7914, allocations: 35.97 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.7914, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.7915, allocations: 15.92 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.7915, allocations: 7.984 kB / 1.021 GB, free: 14.04 MB / 0.7794 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 0.0001149/0.7916, allocations: 110.4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.7917, allocations: 7.906 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.7922, allocations: 153.9 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.7922, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7922, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.7922, allocations: 7.922 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.7924, allocations: 197.6 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7925, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.7926, allocations: 23.97 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7926, allocations: 7.938 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.7927, allocations: 7.984 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7927, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.7927, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004595/0.7931, allocations: 231.3 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.7932, allocations: 85.02 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.7932, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.7934, allocations: 19.92 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.935e-05/0.7935, allocations: 19.97 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.7935, allocations: 7.922 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.005e-05/0.7936, allocations: 99.27 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7936, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002348/0.7938, allocations: 15.94 kB / 1.022 GB, free: 12.96 MB / 0.7794 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.0001641/0.794, allocations: 103.2 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004251/0.7944, allocations: 107.9 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7944, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.7946, allocations: 67.88 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.795, allocations: 15.94 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.7956, allocations: 183.9 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.796, allocations: 0.6965 MB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.336e-05/0.796, allocations: 4 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/0.7961, allocations: 27.42 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.7961, allocations: 0 / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.004347/0.8005, allocations: 1.348 MB / 1.025 GB, free: 10.36 MB / 0.7794 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=400 -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