Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01024/0.01024, allocations: 94.77 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.001538/0.001538, 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.581/1.581, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.903/2.903, allocations: 437 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 75.86 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3624, allocations: 151.6 MB / 1.167 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002059/0.3645, allocations: 0.7014 MB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3656, allocations: 0.8393 MB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.736e-05/0.3657, allocations: 0 / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.3657, allocations: 7.922 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.337e-05/0.3658, allocations: 3.938 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.366, allocations: 15.98 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.3661, allocations: 55.89 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.3662, allocations: 15.98 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.173e-05/0.3663, allocations: 15.88 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.3664, allocations: 27.91 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.3664, allocations: 7.984 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.3664, allocations: 4 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.3665, allocations: 15.92 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.3665, allocations: 15.94 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.3666, allocations: 55.72 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3667, allocations: 3.938 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3667, allocations: 0 / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.3667, allocations: 0 / 1.168 GB, free: 5.031 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.0006008/0.3673, allocations: 359.3 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3673, allocations: 8.031 kB / 1.169 GB, free: 4.625 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.3674, allocations: 4.938 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.3676, allocations: 176.3 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.3676, allocations: 384 / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.3676, allocations: 16.36 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.3678, allocations: 69.53 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3678, allocations: 0 / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3679, allocations: 0 / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3679, allocations: 4 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.3681, allocations: 43.95 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004931/0.3686, allocations: 300.8 kB / 1.169 GB, free: 3.93 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.3688, allocations: 62.48 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.3689, allocations: 32.91 kB / 1.169 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.3689, allocations: 4 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.369, allocations: 30.56 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.369, allocations: 4 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004178/0.3694, allocations: 105.6 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.3694, allocations: 51.41 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3696, allocations: 117.8 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3696, allocations: 25.7 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.3696, allocations: 88.09 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.3697, allocations: 15.94 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.3697, allocations: 17.72 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3698, allocations: 318.8 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.771e-05/0.37, allocations: 23.92 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.503e-05/0.37, allocations: 23.97 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.3702, allocations: 56.81 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3702, allocations: 4 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002215/0.3705, allocations: 81.55 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3705, allocations: 8 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3705, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3705, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.3707, allocations: 11.98 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.3707, allocations: 3.984 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.345e-05/0.3708, allocations: 8 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.3708, allocations: 11.98 kB / 1.17 GB, free: 2.762 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,intGreThr.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.525e-05/0.3709, allocations: 117.7 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.3709, allocations: 4 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.371, allocations: 12.17 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.371, allocations: 0 / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.371, allocations: 0 / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.371, allocations: 3.984 kB / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.3712, allocations: 177.6 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3712, allocations: 0 / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.353e-05/0.3713, allocations: 15.98 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3713, allocations: 0 / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3713, allocations: 0 / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3713, allocations: 0 / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3713, allocations: 4 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.3716, allocations: 187.3 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.3717, allocations: 85.11 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.3717, allocations: 0 / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3718, allocations: 7.984 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/0.3719, allocations: 11.98 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.3719, allocations: 4 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.418e-05/0.3719, allocations: 87.27 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3719, allocations: 0 / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002178/0.3722, allocations: 15.89 kB / 1.171 GB, free: 1.941 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 (intGreThr.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.0001429/0.3723, allocations: 103.2 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.3726, allocations: 55.88 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3726, allocations: 3.938 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.3727, allocations: 35.97 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.373, allocations: 4 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.3734, allocations: 133.4 kB / 1.171 GB, free: 1.578 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.3737, allocations: 0.6884 MB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.791e-05/0.3737, allocations: 4 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.3738, allocations: 11.44 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of SimCode: time 6.11e-07/0.3738, allocations: 0 / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of Templates: time 0.003395/0.3772, allocations: 0.8887 MB / 1.173 GB, free: 15.97 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches