Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 110.4 kB / 16.41 MB, free: 6.496 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.001323/0.001324, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.562/1.562, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.988/2.988, allocations: 474.5 MB / 0.7477 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002397, allocations: 67.91 kB / 1.073 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.026, allocations: 160.3 MB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002065/1.028, allocations: 0.7037 MB / 1.23 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001091/1.029, allocations: 0.8312 MB / 1.231 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/1.029, allocations: 0 / 1.231 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/1.029, allocations: 3.938 kB / 1.231 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.93e-05/1.029, allocations: 11.94 kB / 1.231 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/1.029, allocations: 27.89 kB / 1.231 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/1.029, allocations: 43.86 kB / 1.231 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/1.03, allocations: 19.98 kB / 1.231 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/1.03, allocations: 23.92 kB / 1.231 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/1.03, allocations: 19.91 kB / 1.231 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/1.03, allocations: 4 kB / 1.231 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/1.03, allocations: 12 kB / 1.231 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/1.03, allocations: 7.984 kB / 1.231 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/1.03, allocations: 23.86 kB / 1.231 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/1.03, allocations: 39.86 kB / 1.231 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.03, allocations: 4 kB / 1.231 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.184e-06/1.03, allocations: 0 / 1.231 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.06e-06/1.03, allocations: 0 / 1.231 GB, free: 9.176 MB / 0.9512 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.0005879/1.031, allocations: 363.8 kB / 1.231 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/1.031, allocations: 12.03 kB / 1.231 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/1.031, allocations: 12.89 kB / 1.231 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/1.031, allocations: 168.3 kB / 1.231 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/1.031, allocations: 4.375 kB / 1.231 GB, free: 8.547 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/1.031, allocations: 4.375 kB / 1.231 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/1.031, allocations: 69.53 kB / 1.231 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.031, allocations: 0 / 1.231 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/1.031, allocations: 4 kB / 1.231 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/1.031, allocations: 3.938 kB / 1.231 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/1.031, allocations: 55.94 kB / 1.232 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/1.032, allocations: 292.7 kB / 1.232 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/1.032, allocations: 66.56 kB / 1.232 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/1.032, allocations: 28.89 kB / 1.232 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/1.032, allocations: 4 kB / 1.232 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/1.032, allocations: 30.56 kB / 1.232 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/1.032, allocations: 4 kB / 1.232 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004321/1.033, allocations: 105.5 kB / 1.232 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/1.033, allocations: 55.41 kB / 1.232 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/1.033, allocations: 109.8 kB / 1.232 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/1.033, allocations: 29.7 kB / 1.232 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/1.033, allocations: 92.03 kB / 1.232 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/1.033, allocations: 7.953 kB / 1.232 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/1.033, allocations: 21.7 kB / 1.232 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.033, allocations: 314.8 kB / 1.233 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/1.033, allocations: 23.97 kB / 1.233 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/1.033, allocations: 23.98 kB / 1.233 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/1.034, allocations: 56.81 kB / 1.233 GB, free: 7.039 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.034, allocations: 3.938 kB / 1.233 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002554/1.034, allocations: 85.59 kB / 1.233 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/1.034, allocations: 4 kB / 1.233 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/1.034, allocations: 0 / 1.233 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/1.034, allocations: 336 / 1.233 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/1.034, allocations: 15.98 kB / 1.233 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/1.034, allocations: 320 / 1.233 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.066e-05/1.034, allocations: 15.98 kB / 1.233 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/1.034, allocations: 0 / 1.233 GB, free: 6.91 MB / 0.9512 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,intLesThr.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.889e-05/1.034, allocations: 117.8 kB / 1.233 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/1.034, allocations: 0 / 1.233 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/1.034, allocations: 11.84 kB / 1.233 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.84e-06/1.034, allocations: 7.984 kB / 1.233 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.034, allocations: 0 / 1.233 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/1.034, allocations: 4 kB / 1.233 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/1.035, allocations: 173.5 kB / 1.233 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.035, allocations: 0 / 1.233 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.755e-05/1.035, allocations: 15.92 kB / 1.233 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.035, allocations: 0 / 1.233 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/1.035, allocations: 11.98 kB / 1.233 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.035, allocations: 0 / 1.233 GB, free: 6.508 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.035, allocations: 4 kB / 1.233 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/1.035, allocations: 183.4 kB / 1.233 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/1.035, allocations: 85 kB / 1.233 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/1.035, allocations: 4 kB / 1.233 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/1.035, allocations: 7.984 kB / 1.233 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/1.035, allocations: 11.98 kB / 1.233 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/1.035, allocations: 0 / 1.233 GB, free: 6.184 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.507e-05/1.035, allocations: 91.27 kB / 1.234 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.035, allocations: 0 / 1.234 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000224/1.036, allocations: 11.94 kB / 1.234 GB, free: 6.082 MB / 0.9512 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 (intLesThr.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.0001474/1.036, allocations: 111.1 kB / 1.234 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002676/1.036, allocations: 51.95 kB / 1.234 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.036, allocations: 0 / 1.234 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/1.036, allocations: 31.97 kB / 1.234 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/1.037, allocations: 15.88 kB / 1.234 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/1.037, allocations: 141.2 kB / 1.234 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/1.037, allocations: 0.6807 MB / 1.235 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.134e-05/1.037, allocations: 4 kB / 1.235 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/1.037, allocations: 15.42 kB / 1.235 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of SimCode: time 5.11e-07/1.037, allocations: 4 kB / 1.235 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of Templates: time 0.003774/1.041, allocations: 0.8855 MB / 1.235 GB, free: 4.098 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches