Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_9_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_9_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.001155/0.001155, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.498/1.498, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.62/2.62, allocations: 390.2 MB / 0.6646 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 67.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9447/0.9459, allocations: 140.4 MB / 0.9496 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002296/0.9483, allocations: 0.6896 MB / 0.9503 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000933/0.9492, allocations: 0.8399 MB / 0.9511 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.9493, allocations: 1.312 kB / 0.9511 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.9493, allocations: 3.938 kB / 0.9511 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.805e-05/0.9494, allocations: 9.359 kB / 0.9511 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.9496, allocations: 27.41 kB / 0.9511 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.535e-05/0.9497, allocations: 46.78 kB / 0.9512 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.9498, allocations: 11.53 kB / 0.9512 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.202e-05/0.9499, allocations: 17.61 kB / 0.9512 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.261e-05/0.95, allocations: 34.48 kB / 0.9512 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.95, allocations: 5.406 kB / 0.9512 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.786e-05/0.9501, allocations: 3.875 kB / 0.9512 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.9501, allocations: 9 kB / 0.9512 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.9501, allocations: 20.67 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.9502, allocations: 43.3 kB / 0.9513 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.9503, allocations: 0 / 0.9513 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.687e-06/0.9503, allocations: 3.984 kB / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.363e-06/0.9503, allocations: 1.531 kB / 0.9513 GB, free: 7.723 MB / 0.7169 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.0005636/0.9508, allocations: 365.3 kB / 0.9517 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.9509, allocations: 8.375 kB / 0.9517 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.9509, allocations: 3.688 kB / 0.9517 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.9511, allocations: 170.6 kB / 0.9518 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.9511, allocations: 5.875 kB / 0.9518 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.9511, allocations: 7.406 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.9513, allocations: 67.38 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.9513, allocations: 1.344 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.9514, allocations: 4 kB / 0.9519 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.9514, allocations: 5.141 kB / 0.9519 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.9516, allocations: 51.09 kB / 0.952 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.952, allocations: 290.5 kB / 0.9523 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.9522, allocations: 68.09 kB / 0.9523 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.9523, allocations: 26.73 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.9524, allocations: 5.406 kB / 0.9523 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.9524, allocations: 32.12 kB / 0.9524 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.9524, allocations: 0 / 0.9524 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004239/0.9528, allocations: 116.5 kB / 0.9525 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.9528, allocations: 51.41 kB / 0.9525 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.761e-05/0.9529, allocations: 111.9 kB / 0.9526 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.9529, allocations: 25.7 kB / 0.9527 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.953, allocations: 86.08 kB / 0.9528 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.953, allocations: 13.47 kB / 0.9528 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.9531, allocations: 22.77 kB / 0.9528 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.9531, allocations: 318.8 kB / 0.9531 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.9532, allocations: 24.97 kB / 0.9531 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.934e-05/0.9533, allocations: 24.11 kB / 0.9531 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.9535, allocations: 53.97 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9535, allocations: 0.9062 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002235/0.9538, allocations: 88.14 kB / 0.9533 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.9538, allocations: 6.375 kB / 0.9533 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.9538, allocations: 0 / 0.9533 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.9538, allocations: 0 / 0.9533 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.954, allocations: 12.55 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.954, allocations: 0 / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.265e-05/0.9541, allocations: 8.641 kB / 0.9533 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.9541, allocations: 5.562 kB / 0.9533 GB, free: 5.77 MB / 0.7169 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 6.888e-05/0.9541, allocations: 112.9 kB / 0.9534 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.9542, allocations: 9.281 kB / 0.9534 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.9542, allocations: 17.23 kB / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.9542, allocations: 1.312 kB / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.9542, allocations: 0 / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.9542, allocations: 0 / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.9544, allocations: 171.5 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.9544, allocations: 1.469 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.199e-05/0.9545, allocations: 15.44 kB / 0.9536 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.9545, allocations: 7.922 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.9545, allocations: 1.438 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9545, allocations: 4 kB / 0.9536 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9545, allocations: 1.438 kB / 0.9536 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.9548, allocations: 183.2 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.9548, allocations: 86.64 kB / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.9548, allocations: 0 / 0.9539 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.978e-05/0.9549, allocations: 10.02 kB / 0.9539 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.955, allocations: 15.27 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.955, allocations: 1.031 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.955, allocations: 85.72 kB / 0.954 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9551, allocations: 0 / 0.954 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002146/0.9553, allocations: 7.094 kB / 0.954 GB, free: 5.039 MB / 0.7169 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.0001325/0.9554, allocations: 104.9 kB / 0.9541 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002704/0.9557, allocations: 66.86 kB / 0.9542 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.9557, allocations: 0 / 0.9542 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.9558, allocations: 34.31 kB / 0.9542 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.9561, allocations: 2.531 kB / 0.9542 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.9565, allocations: 137.5 kB / 0.9543 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.9567, allocations: 0.6881 MB / 0.955 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.181e-05/0.9567, allocations: 4.625 kB / 0.955 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.9568, allocations: 14.61 kB / 0.955 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.9568, allocations: 0 / 0.955 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of Templates: time 0.003765/0.9605, allocations: 0.8792 MB / 0.9559 GB, free: 3.598 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches