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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00712/0.00712, allocations: 101.2 kB / 15.88 MB, free: 5.867 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.001476/0.001476, allocations: 192.1 kB / 16.79 MB, free: 5.809 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.2 MB / 0.6649 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001556, allocations: 59.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6931/0.6946, allocations: 140.4 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001877/0.6965, allocations: 0.7685 MB / 0.9503 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007166/0.6973, allocations: 0.8294 MB / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.6973, allocations: 1.375 kB / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.6974, allocations: 3.938 kB / 0.9512 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.612e-05/0.6975, allocations: 1.375 kB / 0.9512 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.6976, allocations: 20.05 kB / 0.9512 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.411e-05/0.6977, allocations: 37.8 kB / 0.9512 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.6978, allocations: 18.86 kB / 0.9512 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.015e-05/0.6978, allocations: 26.72 kB / 0.9513 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.864e-05/0.6979, allocations: 22.8 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.6979, allocations: 2.75 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.341e-05/0.6979, allocations: 2.75 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.698, allocations: 5.359 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.698, allocations: 30.59 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.122e-05/0.6981, allocations: 26.81 kB / 0.9513 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6981, allocations: 0 / 0.9513 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6981, allocations: 5.375 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.6981, allocations: 0 / 0.9514 GB, free: 7.711 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.0004415/0.6985, allocations: 360.5 kB / 0.9517 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.6986, allocations: 9.625 kB / 0.9517 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.6986, allocations: 3.688 kB / 0.9517 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.212e-05/0.6987, allocations: 167 kB / 0.9519 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.6987, allocations: 1.75 kB / 0.9519 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.6987, allocations: 7.125 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.6989, allocations: 83.56 kB / 0.952 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.699, allocations: 3.984 kB / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.699, allocations: 1.375 kB / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.699, allocations: 0 / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.6992, allocations: 47.45 kB / 0.952 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.6996, allocations: 296.2 kB / 0.9523 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.6998, allocations: 63.23 kB / 0.9524 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.6999, allocations: 30.94 kB / 0.9524 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.6999, allocations: 0 / 0.9524 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.6999, allocations: 36.19 kB / 0.9524 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.6999, allocations: 4 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004115/0.7003, allocations: 108.8 kB / 0.9525 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.7004, allocations: 53 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.029e-05/0.7004, allocations: 113.9 kB / 0.9527 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.7005, allocations: 27.14 kB / 0.9527 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.7005, allocations: 85.17 kB / 0.9528 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.7005, allocations: 25.14 kB / 0.9528 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.7006, allocations: 14.97 kB / 0.9528 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.272e-05/0.7006, allocations: 319.9 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.7007, allocations: 24.28 kB / 0.9532 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.811e-05/0.7008, allocations: 24.06 kB / 0.9532 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.701, allocations: 54.94 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.701, allocations: 4 kB / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002176/0.7012, allocations: 76.69 kB / 0.9533 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.7012, allocations: 6.094 kB / 0.9533 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.7013, allocations: 5.281 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.7013, allocations: 0 / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.7014, allocations: 11.64 kB / 0.9533 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.7014, allocations: 1.188 kB / 0.9533 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.626e-05/0.7015, allocations: 13.05 kB / 0.9533 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.7015, allocations: 5.344 kB / 0.9533 GB, free: 5.754 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.442e-05/0.7016, allocations: 120.2 kB / 0.9535 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.7016, allocations: 5.281 kB / 0.9535 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/0.7016, allocations: 9.156 kB / 0.9535 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.7016, allocations: 1.312 kB / 0.9535 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7016, allocations: 0 / 0.9535 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.7016, allocations: 336 / 0.9535 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.7018, allocations: 175.9 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7018, allocations: 0 / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.698e-05/0.7019, allocations: 16.67 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.7019, allocations: 0 / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.7019, allocations: 5.422 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7019, allocations: 0 / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7019, allocations: 0 / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.7021, allocations: 183.5 kB / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.7022, allocations: 86.58 kB / 0.9539 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.7022, allocations: 5.25 kB / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.7023, allocations: 9.547 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.035e-05/0.7024, allocations: 11.55 kB / 0.954 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.7024, allocations: 1.312 kB / 0.954 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.782e-05/0.7024, allocations: 88.42 kB / 0.954 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7024, allocations: 1 kB / 0.954 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002221/0.7026, allocations: 6.219 kB / 0.954 GB, free: 5.027 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 9.744e-05/0.7027, allocations: 113.9 kB / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.703, allocations: 58.47 kB / 0.9542 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.703, allocations: 0 / 0.9542 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.7031, allocations: 24.83 kB / 0.9542 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.7034, allocations: 11.05 kB / 0.9542 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.7037, allocations: 170.3 kB / 0.9544 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.911e-05/0.7038, allocations: 0.6844 MB / 0.9551 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.452e-05/0.7039, allocations: 10.84 kB / 0.9551 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.7039, allocations: 0 / 0.9551 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of Templates: time 0.002018/0.7059, allocations: 0.813 MB / 0.9559 GB, free: 3.582 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/jenkins1/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