Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007205/0.007205, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.00137/0.001369, allocations: 191.8 kB / 16.67 MB, free: 5.52 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.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.787/2.787, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 67.91 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106/1.107, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002598/1.11, allocations: 0.6989 MB / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001376/1.111, allocations: 0.839 MB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.931e-05/1.112, allocations: 0 / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.321e-05/1.112, allocations: 3.938 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001463/1.112, allocations: 11.94 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002328/1.112, allocations: 19.97 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/1.112, allocations: 43.84 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/1.112, allocations: 15.98 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/1.113, allocations: 23.92 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.204e-05/1.113, allocations: 19.86 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/1.113, allocations: 4 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.605e-05/1.113, allocations: 8 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.092e-05/1.113, allocations: 19.97 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.353e-05/1.113, allocations: 19.86 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/1.113, allocations: 51.8 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/1.113, allocations: 0 / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.955e-06/1.113, allocations: 0 / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.55e-05/1.113, allocations: 0 / 1.209 GB, free: 11.83 MB / 0.9356 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.000877/1.114, allocations: 351.2 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/1.114, allocations: 8.031 kB / 1.21 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/1.114, allocations: 12.84 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/1.114, allocations: 172.4 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/1.114, allocations: 384 / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/1.114, allocations: 4.375 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/1.115, allocations: 69.53 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/1.115, allocations: 0 / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/1.115, allocations: 3.984 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/1.115, allocations: 4 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/1.115, allocations: 51.95 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006655/1.116, allocations: 290.5 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/1.116, allocations: 62.48 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/1.116, allocations: 32.91 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/1.116, allocations: 11.94 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/1.116, allocations: 30.56 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.512e-06/1.116, allocations: 0 / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0005228/1.117, allocations: 105.6 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/1.117, allocations: 55.34 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/1.117, allocations: 109.9 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/1.117, allocations: 29.7 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/1.117, allocations: 92.05 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/1.117, allocations: 11.83 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/1.117, allocations: 17.72 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002107/1.117, allocations: 326.8 kB / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/1.118, allocations: 19.98 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.6e-05/1.118, allocations: 23.97 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/1.118, allocations: 52.81 kB / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.118, allocations: 0 / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002505/1.118, allocations: 89.5 kB / 1.211 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/1.118, allocations: 4 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.118, allocations: 4 kB / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.921e-05/1.118, allocations: 0 / 1.211 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/1.118, allocations: 19.97 kB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/1.118, allocations: 320 / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.26e-05/1.118, allocations: 4 kB / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/1.118, allocations: 0 / 1.211 GB, free: 9.586 MB / 0.9356 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.0001685/1.119, allocations: 121.8 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/1.119, allocations: 3.938 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.52e-05/1.119, allocations: 7.906 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.119, allocations: 0 / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.119, allocations: 4 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.119, allocations: 4 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/1.119, allocations: 181.9 kB / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/1.119, allocations: 0 / 1.212 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.854e-05/1.119, allocations: 11.98 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/1.119, allocations: 0 / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/1.119, allocations: 3.938 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/1.119, allocations: 0 / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/1.119, allocations: 3.984 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/1.119, allocations: 195.3 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/1.12, allocations: 81.11 kB / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/1.12, allocations: 0 / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/1.12, allocations: 7.984 kB / 1.212 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/1.12, allocations: 11.98 kB / 1.212 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/1.12, allocations: 0 / 1.212 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.133e-05/1.12, allocations: 91.27 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.12, allocations: 0 / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002316/1.12, allocations: 11.94 kB / 1.212 GB, free: 8.754 MB / 0.9356 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.0001636/1.12, allocations: 99.25 kB / 1.212 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003218/1.121, allocations: 63.88 kB / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.121, allocations: 0 / 1.212 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/1.121, allocations: 23.98 kB / 1.212 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/1.121, allocations: 15.98 kB / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/1.122, allocations: 141.3 kB / 1.212 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/1.122, allocations: 0.6807 MB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.131e-05/1.122, allocations: 7.984 kB / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/1.122, allocations: 15.44 kB / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/1.122, allocations: 0 / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of Templates: time 0.004152/1.126, allocations: 0.8929 MB / 1.214 GB, free: 6.77 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches