Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_10_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_10_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.01054/0.01054, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.001786/0.001786, allocations: 198.3 kB / 16.68 MB, free: 5.969 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.787/2.787, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.91 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3555, allocations: 151.6 MB / 1.167 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001966/0.3575, allocations: 0.7078 MB / 1.167 GB, free: 6.109 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000966/0.3585, allocations: 0.8432 MB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.3586, allocations: 4 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.3586, allocations: 3.938 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.3587, allocations: 7.922 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.3589, allocations: 23.97 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.511e-05/0.359, allocations: 47.86 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3591, allocations: 11.98 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.751e-05/0.3592, allocations: 23.91 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.69e-05/0.3593, allocations: 23.92 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.3593, allocations: 4 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.3594, allocations: 4 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.3594, allocations: 11.92 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.3594, allocations: 23.92 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.3595, allocations: 51.67 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3596, allocations: 0 / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3596, allocations: 4 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.3596, allocations: 0 / 1.168 GB, free: 5.012 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005498/0.3601, allocations: 355.3 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3602, allocations: 12.03 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.191e-05/0.3602, allocations: 0.9375 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.3604, allocations: 176.3 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3604, allocations: 4.375 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.3604, allocations: 8.375 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.3606, allocations: 65.59 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.3606, allocations: 4 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3606, allocations: 0 / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3606, allocations: 0 / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.3609, allocations: 51.89 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.3613, allocations: 296.8 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.3615, allocations: 58.55 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3616, allocations: 32.91 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.3617, allocations: 3.938 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.3617, allocations: 38.56 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.3617, allocations: 0 / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004049/0.3621, allocations: 101.6 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.3622, allocations: 51.41 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.817e-05/0.3622, allocations: 113.8 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.3623, allocations: 25.7 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.3623, allocations: 96.08 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.3624, allocations: 7.953 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.3624, allocations: 21.66 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3625, allocations: 318.8 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3626, allocations: 19.98 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.958e-05/0.3627, allocations: 27.91 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.3629, allocations: 60.81 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3629, allocations: 0 / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002351/0.3632, allocations: 85.83 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3632, allocations: 7.984 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3632, allocations: 0 / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3632, allocations: 4.031 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3634, allocations: 15.98 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3634, allocations: 0 / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.136e-05/0.3635, allocations: 8 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.3635, allocations: 11.92 kB / 1.17 GB, free: 2.746 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: 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 0.0001045/0.3636, allocations: 117.7 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.3636, allocations: 4 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.3637, allocations: 7.906 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3637, allocations: 0 / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3637, allocations: 0 / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3637, allocations: 0 / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.3639, allocations: 177.6 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3639, allocations: 4 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-05/0.364, allocations: 11.98 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.364, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.364, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.364, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.364, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.3643, allocations: 195.3 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.3644, allocations: 77.11 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.3644, allocations: 7.984 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3645, allocations: 4 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/0.3646, allocations: 11.98 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.3646, allocations: 4 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.341e-05/0.3647, allocations: 87.33 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3647, allocations: 0 / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002339/0.3649, allocations: 19.89 kB / 1.171 GB, free: 1.93 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: 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.0001638/0.3651, allocations: 103.2 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002695/0.3654, allocations: 55.94 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3654, allocations: 0 / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.3655, allocations: 39.91 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.3658, allocations: 0 / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.3661, allocations: 137.4 kB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.3665, allocations: 0.6884 MB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.323e-05/0.3665, allocations: 4 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.3666, allocations: 11.44 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of SimCode: time 5.41e-07/0.3666, allocations: 0 / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of Templates: time 0.003467/0.37, allocations: 0.8983 MB / 1.173 GB, free: 15.94 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches