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.001644/0.001644, allocations: 105.5 kB / 16.27 MB, free: 5.957 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.001867/0.001867, allocations: 187.1 kB / 17.19 MB, free: 5.59 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.418/1.418, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.54/2.54, allocations: 437.1 MB / 0.711 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 71.72 kB / 0.8699 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3227, allocations: 151.6 MB / 1.018 GB, free: 10.56 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002051/0.3248, allocations: 0.7063 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.3258, allocations: 0.8273 MB / 1.019 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.418e-05/0.3259, allocations: 4 kB / 1.019 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.675e-05/0.3259, allocations: 3.938 kB / 1.019 GB, free: 9.008 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.965e-05/0.326, allocations: 3.938 kB / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.3262, allocations: 31.89 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.123e-05/0.3262, allocations: 47.86 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3264, allocations: 15.98 kB / 1.02 GB, free: 8.91 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.567e-05/0.3264, allocations: 19.92 kB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.3265, allocations: 27.91 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.3265, allocations: 4 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.3265, allocations: 4 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.3266, allocations: 7.984 kB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.3266, allocations: 19.88 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.3267, allocations: 43.84 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3267, allocations: 0 / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3267, allocations: 4 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3267, allocations: 0 / 1.02 GB, free: 8.781 MB / 0.795 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.0005546/0.3273, allocations: 363.6 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3273, allocations: 12.03 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.3274, allocations: 0.9375 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.3275, allocations: 176.3 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.3276, allocations: 4.375 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.3276, allocations: 12.31 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.3278, allocations: 73.78 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3278, allocations: 0 / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3278, allocations: 0 / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3278, allocations: 0 / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.3281, allocations: 47.95 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.3285, allocations: 300.6 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.3287, allocations: 70.42 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3289, allocations: 28.91 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3289, allocations: 4 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.3289, allocations: 38.5 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.3289, allocations: 4 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.000411/0.3293, allocations: 105.6 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.3294, allocations: 51.41 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/0.3295, allocations: 113.8 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3295, allocations: 25.7 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.3296, allocations: 92.12 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.3296, allocations: 7.812 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.3296, allocations: 21.72 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.3298, allocations: 318.8 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.3299, allocations: 23.98 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.328e-05/0.33, allocations: 23.97 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.3302, allocations: 52.81 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3302, allocations: 4 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002391/0.3305, allocations: 81.59 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3305, allocations: 7.984 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3305, allocations: 0 / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3305, allocations: 0 / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.3306, allocations: 11.98 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3307, allocations: 4 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.482e-05/0.3307, allocations: 7.984 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.3308, allocations: 8 kB / 1.022 GB, free: 6.504 MB / 0.795 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.526e-05/0.3309, allocations: 114.1 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.3309, allocations: 3.906 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.3309, allocations: 11.91 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3309, allocations: 3.984 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3309, allocations: 0 / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3309, allocations: 0 / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.3311, allocations: 177.5 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3312, allocations: 4 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.422e-05/0.3312, allocations: 11.98 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3313, allocations: 4 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3313, allocations: 0 / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3313, allocations: 3.938 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3313, allocations: 3.938 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.3316, allocations: 179.4 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.3317, allocations: 89.02 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.3317, allocations: 11.98 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3318, allocations: 4 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.3319, allocations: 15.92 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.3319, allocations: 0 / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.02e-05/0.3319, allocations: 91.27 kB / 1.022 GB, free: 5.691 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3319, allocations: 0 / 1.022 GB, free: 5.691 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002145/0.3322, allocations: 4 kB / 1.022 GB, free: 5.688 MB / 0.795 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.0001388/0.3323, allocations: 107.2 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002748/0.3326, allocations: 63.88 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3326, allocations: 0 / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.3327, allocations: 27.97 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.333, allocations: 4 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.3334, allocations: 160.9 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.3337, allocations: 0.6846 MB / 1.023 GB, free: 4.578 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.3337, allocations: 11.44 kB / 1.023 GB, free: 4.566 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3337, allocations: 3.938 kB / 1.023 GB, free: 4.562 MB / 0.795 GB Notification: Performance of Templates: time 0.002281/0.336, allocations: 0.8136 MB / 1.024 GB, free: 3.754 MB / 0.795 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/jenkins1/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