Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_11_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_11_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.005021/0.005021, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.001128/0.001128, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.641/2.641, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.89 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8537/0.8549, allocations: 159.1 MB / 1.221 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001797/0.8567, allocations: 0.7034 MB / 1.221 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008709/0.8576, allocations: 0.8351 MB / 1.222 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.8576, allocations: 0 / 1.222 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.8577, allocations: 3.938 kB / 1.222 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.432e-05/0.8577, allocations: 11.88 kB / 1.222 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001346/0.8579, allocations: 31.95 kB / 1.222 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.133e-05/0.858, allocations: 43.84 kB / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.8581, allocations: 8 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.796e-05/0.8582, allocations: 27.91 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.786e-05/0.8583, allocations: 23.91 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.8583, allocations: 4 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/0.8583, allocations: 4 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.217e-05/0.8583, allocations: 4 kB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.8584, allocations: 27.86 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.8585, allocations: 51.8 kB / 1.222 GB, free: 328 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.8585, allocations: 3.984 kB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8585, allocations: 4 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.8585, allocations: 0 / 1.222 GB, free: 320 kB / 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.0007233/0.8592, allocations: 359.8 kB / 1.223 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.8593, allocations: 8.625 kB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.58e-05/0.8593, allocations: 8.891 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.8595, allocations: 160.4 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.8595, allocations: 12.31 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.8595, allocations: 384 / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.8598, allocations: 73.59 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.8598, allocations: 0 / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.8598, allocations: 0 / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.8598, allocations: 0 / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.8601, allocations: 59.88 kB / 1.223 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.8606, allocations: 288.8 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.8608, allocations: 70.52 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.8609, allocations: 28.92 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.8609, allocations: 0 / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.861, allocations: 38.5 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.861, allocations: 0 / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004558/0.8614, allocations: 105.6 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.563e-05/0.8615, allocations: 55.41 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.8616, allocations: 113.8 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.8616, allocations: 25.7 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.8617, allocations: 96.03 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.8617, allocations: 3.953 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.8617, allocations: 21.7 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.8619, allocations: 318.8 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.862, allocations: 23.97 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.01e-05/0.8621, allocations: 27.92 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.8623, allocations: 52.81 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.8623, allocations: 3.938 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002348/0.8625, allocations: 89.59 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.8625, allocations: 4 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.8625, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.8626, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.8627, allocations: 11.98 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.8627, allocations: 0 / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.571e-05/0.8628, allocations: 11.98 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.8628, allocations: 4 kB / 1.224 GB, free: 14.06 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 0.0001139/0.8629, allocations: 126.2 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.8629, allocations: 0 / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.863, allocations: 11.89 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.863, allocations: 4 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.863, allocations: 0 / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.863, allocations: 0 / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.8632, allocations: 173.5 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.8632, allocations: 0 / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-05/0.8633, allocations: 15.97 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.8633, allocations: 8 kB / 1.225 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.8633, allocations: 4 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8633, allocations: 0 / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.8633, allocations: 0 / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.8636, allocations: 187.7 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.8636, allocations: 81.11 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.8636, allocations: 7.984 kB / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.8637, allocations: 11.98 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.8638, allocations: 11.98 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-06/0.8638, allocations: 0 / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.428e-05/0.8639, allocations: 87.36 kB / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.8639, allocations: 0 / 1.225 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002137/0.8641, allocations: 7.938 kB / 1.225 GB, free: 13.23 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.0001367/0.8642, allocations: 103.2 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.8645, allocations: 51.95 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8645, allocations: 0 / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.8646, allocations: 39.91 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.8649, allocations: 13.64 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003849/0.8653, allocations: 133.4 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.8656, allocations: 0.6846 MB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.89e-05/0.8656, allocations: 0 / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.8656, allocations: 15.42 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.8656, allocations: 3.938 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of Templates: time 0.003009/0.8686, allocations: 0.8877 MB / 1.227 GB, free: 11.25 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches