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.001973/0.001974, allocations: 115.2 kB / 16.41 MB, free: 6.496 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.002024/0.002024, allocations: 189.2 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.597/1.597, 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 10.1.1-maint.10.0.x/package.mo): time 2.817/2.817, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 63.84 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175/1.177, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00227/1.18, allocations: 0.7891 MB / 1.168 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00121/1.181, allocations: 0.8726 MB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/1.181, allocations: 3.938 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.159e-05/1.181, allocations: 3.938 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.055e-05/1.181, allocations: 15.88 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/1.181, allocations: 31.95 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001476/1.182, allocations: 87.75 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/1.182, allocations: 31.98 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.204e-05/1.182, allocations: 35.84 kB / 1.169 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.938e-05/1.182, allocations: 51.81 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/1.182, allocations: 8 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.784e-05/1.182, allocations: 8 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/1.182, allocations: 19.98 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.471e-05/1.182, allocations: 39.78 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/1.182, allocations: 92.09 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.182, allocations: 0 / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.243e-06/1.182, allocations: 0 / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.491e-06/1.182, allocations: 0 / 1.169 GB, free: 1.762 MB / 0.8887 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.0007517/1.183, allocations: 399.1 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.183, allocations: 8.922 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/1.183, allocations: 8.891 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/1.183, allocations: 180.2 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/1.183, allocations: 8.375 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/1.183, allocations: 4.375 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/1.184, allocations: 111 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.184, allocations: 4 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/1.184, allocations: 4 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/1.184, allocations: 0 / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/1.184, allocations: 91.91 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006191/1.185, allocations: 352.6 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/1.185, allocations: 118.6 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/1.186, allocations: 52.81 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/1.186, allocations: 4 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/1.186, allocations: 34.56 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/1.186, allocations: 0 / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0006853/1.186, allocations: 189.4 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/1.187, allocations: 51.41 kB / 1.171 GB, free: 16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/1.187, allocations: 133.7 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/1.187, allocations: 29.7 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/1.187, allocations: 96.03 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/1.187, allocations: 19.84 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/1.187, allocations: 21.72 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.187, allocations: 322.8 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/1.187, allocations: 43.95 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/1.187, allocations: 47.95 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/1.188, allocations: 96.77 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.188, allocations: 4 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004286/1.188, allocations: 137.5 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/1.188, allocations: 4 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.188, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/1.188, allocations: 3.984 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/1.188, allocations: 23.97 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/1.188, allocations: 4.547 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/1.189, allocations: 19.86 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/1.189, allocations: 4 kB / 1.172 GB, free: 14.96 MB / 0.9044 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.0001173/1.189, allocations: 117.8 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/1.189, allocations: 7.953 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004882/1.189, allocations: 157.8 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/1.189, allocations: 0 / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/1.189, allocations: 4 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/1.189, allocations: 11.92 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/1.19, allocations: 193.6 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.19, allocations: 0 / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/1.19, allocations: 23.97 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/1.19, allocations: 0 / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/1.19, allocations: 8 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.19, allocations: 0 / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/1.19, allocations: 3.938 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004867/1.19, allocations: 243.3 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/1.19, allocations: 81.06 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/1.19, allocations: 7.984 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/1.19, allocations: 15.92 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.951e-05/1.191, allocations: 23.92 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/1.191, allocations: 11.98 kB / 1.173 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.327e-05/1.191, allocations: 91.27 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/1.191, allocations: 0 / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002297/1.191, allocations: 16 kB / 1.173 GB, free: 13.86 MB / 0.9044 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.0001462/1.191, allocations: 99.25 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004371/1.191, allocations: 103.8 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.192, allocations: 0 / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/1.192, allocations: 63.94 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/1.192, allocations: 8 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/1.193, allocations: 178.1 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/1.193, allocations: 0.7001 MB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.132e-05/1.193, allocations: 8 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.506e-05/1.193, allocations: 23.42 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of SimCode: time 3.7e-07/1.193, allocations: 0 / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of Templates: time 0.004622/1.198, allocations: 1.578 MB / 1.176 GB, free: 11.05 MB / 0.9044 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 -s cvode -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/jenkins1/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