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.001372/0.001372, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001754/0.001754, allocations: 191.6 kB / 16.13 MB, free: 6.691 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.464/2.464, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7918/0.7931, allocations: 140.4 MB / 0.9489 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00192/0.7951, allocations: 0.7603 MB / 0.9497 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006938/0.7958, allocations: 0.8304 MB / 0.9505 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.301e-05/0.7958, allocations: 0 / 0.9505 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.7958, allocations: 5.531 kB / 0.9505 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.7959, allocations: 3.984 kB / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.796, allocations: 20.56 kB / 0.9505 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.07e-05/0.7961, allocations: 46.14 kB / 0.9506 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.7962, allocations: 13.83 kB / 0.9506 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.577e-05/0.7963, allocations: 14.36 kB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.651e-05/0.7963, allocations: 27.22 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.341e-05/0.7964, allocations: 3.125 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.7964, allocations: 2.938 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.7964, allocations: 17.48 kB / 0.9506 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.7964, allocations: 18.5 kB / 0.9507 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.893e-05/0.7965, allocations: 48.09 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.7965, allocations: 0 / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.01e-07/0.7965, allocations: 0 / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.7965, allocations: 1.562 kB / 0.9507 GB, free: 7.789 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.0004137/0.797, allocations: 361 kB / 0.951 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.797, allocations: 8.562 kB / 0.9511 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.797, allocations: 3.438 kB / 0.9511 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.382e-05/0.7971, allocations: 175 kB / 0.9512 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.7972, allocations: 5.594 kB / 0.9512 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.7972, allocations: 2.812 kB / 0.9512 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.7974, allocations: 69.12 kB / 0.9513 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.7974, allocations: 0 / 0.9513 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.7974, allocations: 4 kB / 0.9513 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.7974, allocations: 1.062 kB / 0.9513 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.7976, allocations: 51.36 kB / 0.9514 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.798, allocations: 294.8 kB / 0.9516 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.7982, allocations: 60.67 kB / 0.9517 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.892e-05/0.7983, allocations: 33.84 kB / 0.9517 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.7983, allocations: 5 kB / 0.9517 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.7983, allocations: 31.75 kB / 0.9518 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.7983, allocations: 0 / 0.9518 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003905/0.7987, allocations: 110.2 kB / 0.9519 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.7988, allocations: 55.34 kB / 0.9519 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.419e-05/0.7988, allocations: 106.8 kB / 0.952 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.7988, allocations: 29.7 kB / 0.952 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.7989, allocations: 90.59 kB / 0.9521 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.7989, allocations: 17.41 kB / 0.9521 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.7989, allocations: 14 kB / 0.9522 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.389e-05/0.799, allocations: 324.4 kB / 0.9525 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-05/0.7991, allocations: 24.11 kB / 0.9525 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.687e-05/0.7992, allocations: 28.19 kB / 0.9525 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.7993, allocations: 58.58 kB / 0.9526 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.7994, allocations: 0 / 0.9526 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002119/0.7996, allocations: 80.94 kB / 0.9527 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.7996, allocations: 5.656 kB / 0.9527 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.7996, allocations: 3.984 kB / 0.9527 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.7996, allocations: 0.9688 kB / 0.9527 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.7997, allocations: 11.7 kB / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.7997, allocations: 7.938 kB / 0.9527 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.463e-05/0.7998, allocations: 5.438 kB / 0.9527 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.7998, allocations: 5.203 kB / 0.9527 GB, free: 5.832 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 5.54e-05/0.7999, allocations: 116 kB / 0.9528 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.7999, allocations: 5.969 kB / 0.9528 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.227e-05/0.8, allocations: 9.031 kB / 0.9528 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.8, allocations: 1.094 kB / 0.9528 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.8, allocations: 0 / 0.9528 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.8, allocations: 4 kB / 0.9528 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.8001, allocations: 175.7 kB / 0.953 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.8001, allocations: 1.031 kB / 0.953 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.688e-05/0.8002, allocations: 11.8 kB / 0.953 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.8002, allocations: 0 / 0.953 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.8002, allocations: 0.9062 kB / 0.953 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.8002, allocations: 5.094 kB / 0.953 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.8002, allocations: 0 / 0.953 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.8005, allocations: 188.1 kB / 0.9532 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.8005, allocations: 82.23 kB / 0.9533 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.8006, allocations: 5.203 kB / 0.9533 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.8007, allocations: 3.969 kB / 0.9533 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.8007, allocations: 11.92 kB / 0.9533 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.8007, allocations: 6.359 kB / 0.9533 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.639e-05/0.8008, allocations: 84.84 kB / 0.9534 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8008, allocations: 4 kB / 0.9534 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000216/0.801, allocations: 6.719 kB / 0.9534 GB, free: 5.109 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.000104/0.8011, allocations: 101.7 kB / 0.9535 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.8013, allocations: 62.12 kB / 0.9535 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.8013, allocations: 0 / 0.9535 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.8015, allocations: 37.84 kB / 0.9536 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.8017, allocations: 12.28 kB / 0.9536 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003039/0.8021, allocations: 141 kB / 0.9537 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.8022, allocations: 0.6805 MB / 0.9544 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.592e-05/0.8022, allocations: 8.188 kB / 0.9544 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.8023, allocations: 14.27 kB / 0.9544 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8023, allocations: 0 / 0.9544 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of Templates: time 0.002521/0.8048, allocations: 0.7691 MB / 0.9552 GB, free: 3.715 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