Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_9_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_9_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.001165/0.001164, allocations: 112 kB / 16.41 MB, free: 6.484 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.001184/0.001184, allocations: 183 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.395/1.395, 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 9.1.3-maint.9.1.x/package.mo): time 2.511/2.511, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 59.91 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8764/0.8781, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001955/0.8801, allocations: 0.6947 MB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.8812, allocations: 0.8411 MB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.8812, allocations: 4.875 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.8813, allocations: 5.656 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.57e-05/0.8814, allocations: 4.641 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.8815, allocations: 22.48 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.833e-05/0.8817, allocations: 48.77 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.8818, allocations: 13.47 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.314e-05/0.8819, allocations: 17.69 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.52e-05/0.8819, allocations: 33.08 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.882, allocations: 4.562 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.622e-05/0.882, allocations: 4.375 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.882, allocations: 11.5 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.8821, allocations: 15.03 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.8822, allocations: 50.89 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.8822, allocations: 3.938 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8822, allocations: 1.125 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.8822, allocations: 0 / 1.09 GB, free: 4.297 MB / 0.8575 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.0005005/0.8827, allocations: 360 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.8828, allocations: 9.125 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.8828, allocations: 11.12 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.8829, allocations: 164.9 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.883, allocations: 2.156 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.883, allocations: 2.594 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.8832, allocations: 68.81 kB / 1.091 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.8832, allocations: 3.938 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.8832, allocations: 6.047 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.8832, allocations: 4 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.8835, allocations: 51.48 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.8839, allocations: 296.6 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.8841, allocations: 60.81 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.8842, allocations: 33.77 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.8843, allocations: 1.344 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.8843, allocations: 34.5 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.8843, allocations: 0 / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004534/0.8847, allocations: 110.3 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.8848, allocations: 56.16 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.029e-05/0.8849, allocations: 107.2 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.8849, allocations: 26.61 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.92e-05/0.8849, allocations: 90.48 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.885, allocations: 14.05 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.885, allocations: 16.61 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.406e-05/0.8851, allocations: 321.3 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.8852, allocations: 22.45 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.8853, allocations: 31.67 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.8855, allocations: 50.69 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8855, allocations: 3.938 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002506/0.8858, allocations: 82.59 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.8858, allocations: 6 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.8858, allocations: 0 / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.8858, allocations: 5.062 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.886, allocations: 11.69 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.886, allocations: 1.406 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.886, allocations: 12.34 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.8861, allocations: 1.641 kB / 1.092 GB, free: 2.504 MB / 0.8575 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 6.22e-05/0.8861, allocations: 120.7 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.8862, allocations: 2.031 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.8862, allocations: 9.578 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.8862, allocations: 1.656 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.8862, allocations: 1.094 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.8862, allocations: 0.5625 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.8864, allocations: 178.5 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8864, allocations: 0 / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.286e-05/0.8865, allocations: 11.89 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.8865, allocations: 0.6875 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.8865, allocations: 1.281 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.8865, allocations: 1.625 kB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.8865, allocations: 3.938 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.8868, allocations: 191.5 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.52e-05/0.8869, allocations: 79.16 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.8869, allocations: 5.469 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.887, allocations: 8.359 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.61e-05/0.8871, allocations: 11.55 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.8871, allocations: 5.469 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.628e-05/0.8871, allocations: 91.88 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8871, allocations: 0 / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002208/0.8874, allocations: 10.5 kB / 1.093 GB, free: 1.812 MB / 0.8575 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.000118/0.8875, allocations: 103 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002958/0.8878, allocations: 52.33 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8878, allocations: 4 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.8879, allocations: 36.08 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.8883, allocations: 13.17 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.8886, allocations: 163.6 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.8888, allocations: 0.6807 MB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.253e-05/0.8889, allocations: 12.59 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.8889, allocations: 0 / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of Templates: time 0.002939/0.8918, allocations: 0.8054 MB / 1.095 GB, free: 0.793 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches