Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001571/0.001571, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 195.3 kB / 16.53 MB, free: 6.391 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.548/1.548, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.924/2.924, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002904/0.002904, allocations: 64.09 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8027/0.8056, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.00231/0.808, allocations: 0.7029 MB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.809, allocations: 0.8351 MB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.8091, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.657e-05/0.8091, allocations: 3.938 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.8092, allocations: 7.922 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.8094, allocations: 23.92 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.533e-05/0.8094, allocations: 47.89 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.8096, allocations: 16 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.561e-05/0.8096, allocations: 19.92 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.846e-05/0.8097, allocations: 31.78 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.8097, allocations: 4 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.8098, allocations: 4 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.8098, allocations: 15.98 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.8098, allocations: 19.86 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.728e-05/0.8099, allocations: 39.88 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.8099, allocations: 3.984 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.433e-06/0.81, allocations: 0 / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.81, allocations: 4 kB / 1.019 GB, free: 0.7227 MB / 0.7637 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.000589/0.8106, allocations: 361.3 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.8106, allocations: 8.031 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.8106, allocations: 4.938 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.8108, allocations: 176.3 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.8108, allocations: 384 / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.8109, allocations: 8.359 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.8111, allocations: 73.72 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.8111, allocations: 0 / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.8111, allocations: 0 / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.8111, allocations: 4 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.8114, allocations: 51.94 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.8119, allocations: 284.8 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.8121, allocations: 70.47 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.8122, allocations: 32.92 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.8122, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.8123, allocations: 34.55 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.8123, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004355/0.8127, allocations: 113.5 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.8128, allocations: 59.28 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.8129, allocations: 109.8 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.8129, allocations: 25.7 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.813, allocations: 88.2 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.813, allocations: 15.75 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.8131, allocations: 25.7 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.8132, allocations: 314.8 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.8134, allocations: 27.97 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.889e-05/0.8135, allocations: 19.98 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.8137, allocations: 52.81 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8137, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002362/0.8139, allocations: 85.64 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.8139, allocations: 11.94 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.8139, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.814, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.8141, allocations: 15.92 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.8141, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.346e-05/0.8142, allocations: 7.984 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.8142, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 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.77e-05/0.8143, allocations: 117.8 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.8143, allocations: 7.906 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.8144, allocations: 8.219 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.8144, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8144, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8144, allocations: 3.984 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.8146, allocations: 177.6 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.8146, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.838e-05/0.8147, allocations: 15.97 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8147, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.8147, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8147, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8147, allocations: 4 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.815, allocations: 183.4 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.8151, allocations: 84.95 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.8151, allocations: 0 / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.8152, allocations: 11.98 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.8153, allocations: 11.98 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.8153, allocations: 8 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.356e-05/0.8154, allocations: 83.28 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8154, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002097/0.8156, allocations: 11.98 kB / 1.022 GB, free: 13.64 MB / 0.7794 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.0001515/0.8157, allocations: 103.2 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.816, allocations: 59.89 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.816, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.8162, allocations: 31.97 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.8165, allocations: 8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.8168, allocations: 133.5 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.8172, allocations: 0.6807 MB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.743e-05/0.8172, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.8173, allocations: 15.42 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8173, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of Templates: time 0.003635/0.8209, allocations: 0.8861 MB / 1.024 GB, free: 11.67 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches