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.001573/0.00158, allocations: 110.9 kB / 16.42 MB, free: 6.492 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.001566/0.001567, allocations: 189.6 kB / 17.35 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.41/1.41, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.33/2.33, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 59.91 kB / 0.9516 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9387/0.9409, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002043/0.943, allocations: 0.7705 MB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.9443, allocations: 0.8678 MB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.785e-05/0.9444, allocations: 1.406 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.9445, allocations: 9.281 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.9446, allocations: 6.422 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.9448, allocations: 46.02 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.9449, allocations: 83.36 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.9451, allocations: 29.98 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.589e-05/0.9452, allocations: 40.47 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.564e-05/0.9453, allocations: 44.92 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.9453, allocations: 7.812 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.245e-05/0.9454, allocations: 7.25 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.557e-05/0.9454, allocations: 24.22 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.13e-05/0.9454, allocations: 34.67 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.9456, allocations: 95.11 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.9456, allocations: 1.703 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9456, allocations: 0 / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.9457, allocations: 0 / 1.091 GB, free: 4.172 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.0006339/0.9463, allocations: 384.8 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.9464, allocations: 12.78 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.9464, allocations: 15.81 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.9465, allocations: 175.3 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.9466, allocations: 11.53 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.9466, allocations: 7.656 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.9469, allocations: 108.9 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.9469, allocations: 0.9375 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.947, allocations: 0 / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.947, allocations: 2.594 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.9474, allocations: 109.3 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.9479, allocations: 341.1 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000632/0.9485, allocations: 125.7 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.9488, allocations: 51.86 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.9488, allocations: 1.906 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.9488, allocations: 35.66 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.9488, allocations: 0 / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000698/0.9495, allocations: 191.1 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.9496, allocations: 53.52 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.625e-05/0.9497, allocations: 119.3 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.9497, allocations: 29.64 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.9497, allocations: 97.64 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.9498, allocations: 16.39 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.9498, allocations: 27.11 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.856e-05/0.9499, allocations: 322.7 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/0.9501, allocations: 44.34 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.9503, allocations: 44.38 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003757/0.9507, allocations: 105.1 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.9507, allocations: 0 / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004185/0.9511, allocations: 138.3 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.9511, allocations: 6.172 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.9511, allocations: 0 / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.9512, allocations: 0.7188 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.9513, allocations: 33.06 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.9514, allocations: 0 / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.9515, allocations: 17 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.9515, allocations: 2.672 kB / 1.093 GB, free: 2.223 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.187e-05/0.9516, allocations: 114.3 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.9516, allocations: 11.39 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000474/0.9521, allocations: 149 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9521, allocations: 6.141 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.9521, allocations: 0 / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.9521, allocations: 91.3 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.9522, allocations: 1.672 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.9523, allocations: 11.98 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.9524, allocations: 25 kB / 1.094 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005553/0.953, allocations: 229.4 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004679/0.9534, allocations: 318.4 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002104/0.9537, allocations: 60.78 kB / 1.094 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.9537, allocations: 98.02 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of Backend: time 5.01e-07/0.9537, allocations: 0 / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005336/0.9543, allocations: 137.4 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004699/0.9548, allocations: 0.6017 MB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of Templates: time 0.005287/0.96, allocations: 1.753 MB / 1.097 GB, free: 0.625 MB / 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/jenkins1/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