Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008731/0.0008731, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007786/0.007787, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.536/1.536, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.999/2.999, allocations: 462.7 MB / 0.7364 GB, free: 316 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004022, allocations: 12.28 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3674, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001069/0.3685, allocations: 447.5 kB / 1.059 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.3698, allocations: 0.8274 MB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.397e-05/0.3699, allocations: 0 / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.606e-05/0.37, allocations: 3.938 kB / 1.06 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.876e-05/0.3701, allocations: 3.984 kB / 1.06 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.3702, allocations: 23.97 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.338e-05/0.3703, allocations: 43.86 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.3705, allocations: 15.98 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.139e-05/0.3706, allocations: 19.88 kB / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.3707, allocations: 23.89 kB / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3707, allocations: 4 kB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.3707, allocations: 0 / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.3708, allocations: 4 kB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.3708, allocations: 45.56 kB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.479e-05/0.3709, allocations: 43.84 kB / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3709, allocations: 4 kB / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.225e-06/0.3709, allocations: 0 / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3709, allocations: 0 / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006092/0.3716, allocations: 355.6 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.3716, allocations: 8.031 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.3717, allocations: 4.938 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.3719, allocations: 176.3 kB / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.3719, allocations: 8.312 kB / 1.061 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.3719, allocations: 4.375 kB / 1.061 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.3722, allocations: 73.72 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3722, allocations: 0 / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3722, allocations: 4 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3722, allocations: 0 / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.3725, allocations: 67.94 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.373, allocations: 292.8 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.3732, allocations: 78.41 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.3734, allocations: 32.92 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.3734, allocations: 0 / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.3734, allocations: 30.56 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3734, allocations: 4 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004746/0.3739, allocations: 129.5 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.374, allocations: 55.41 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.3741, allocations: 105.8 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.3741, allocations: 29.64 kB / 1.062 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.3741, allocations: 88.14 kB / 1.062 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.3742, allocations: 7.812 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.3742, allocations: 17.72 kB / 1.062 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3744, allocations: 318.8 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.3745, allocations: 27.98 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.737e-05/0.3746, allocations: 35.97 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.3748, allocations: 60.81 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3748, allocations: 4 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002519/0.375, allocations: 85.66 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3751, allocations: 7.984 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3751, allocations: 4 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3751, allocations: 0 / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.3752, allocations: 23.92 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3752, allocations: 0 / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.578e-05/0.3753, allocations: 12 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.3753, allocations: 3.984 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.082e-05/0.3754, allocations: 115.6 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.3755, allocations: 3.906 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.625e-05/0.3755, allocations: 11.91 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.3755, allocations: 7.984 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3755, allocations: 0 / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.3755, allocations: 0 / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.3757, allocations: 177.5 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3757, allocations: 0 / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.345e-05/0.3758, allocations: 19.92 kB / 1.063 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3758, allocations: 3.938 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3759, allocations: 4 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3759, allocations: 0 / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3759, allocations: 8 kB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.3762, allocations: 191.4 kB / 1.063 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.3763, allocations: 81.02 kB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.3763, allocations: 11.98 kB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.3764, allocations: 4 kB / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.3765, allocations: 11.98 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3765, allocations: 4 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.698e-05/0.3766, allocations: 83.27 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3766, allocations: 0 / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002372/0.3768, allocations: 12 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002189/0.3771, allocations: 103.2 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003048/0.3774, allocations: 67.94 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3774, allocations: 3.938 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.3775, allocations: 39.97 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.3779, allocations: 4 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.3785, allocations: 132.7 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.3789, allocations: 0.6809 MB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.839e-05/0.379, allocations: 11.98 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.735e-05/0.3791, allocations: 15.44 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3791, allocations: 0 / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of Templates: time 0.003834/0.3829, allocations: 0.7615 MB / 1.065 GB, free: 14.95 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches