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.001448/0.001448, allocations: 104.4 kB / 15.98 MB, free: 5.891 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.001519/0.00152, allocations: 189.4 kB / 16.91 MB, free: 5.746 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.355/1.355, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.693/2.693, allocations: 469.8 MB / 0.7427 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 65.72 kB / 0.9087 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2707, allocations: 159.2 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001894/0.2726, allocations: 0.7661 MB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009253/0.2736, allocations: 0.8351 MB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.2736, allocations: 0 / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.2737, allocations: 3.938 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.2737, allocations: 0 / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.2739, allocations: 31.91 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.077e-05/0.274, allocations: 43.86 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.2741, allocations: 15.98 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.414e-05/0.2741, allocations: 23.86 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.037e-05/0.2742, allocations: 23.91 kB / 1.066 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.2742, allocations: 4 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.2742, allocations: 4 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.2743, allocations: 11.98 kB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.437e-05/0.2743, allocations: 27.86 kB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.152e-05/0.2744, allocations: 35.92 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.2744, allocations: 0 / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2744, allocations: 0 / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.2744, allocations: 4 kB / 1.066 GB, free: 12.74 MB / 0.8262 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.0005275/0.2749, allocations: 352.9 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.275, allocations: 8.031 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.275, allocations: 4.844 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.2752, allocations: 164.4 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.2752, allocations: 12.38 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.2752, allocations: 384 / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.2754, allocations: 73.77 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2754, allocations: 3.938 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2754, allocations: 0 / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2754, allocations: 0 / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.2756, allocations: 51.95 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.2761, allocations: 296.7 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.2763, allocations: 62.48 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.2764, allocations: 32.91 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.2764, allocations: 12.06 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.2765, allocations: 30.56 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2765, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003871/0.2769, allocations: 105.8 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.2769, allocations: 51.41 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.262e-05/0.277, allocations: 105.8 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.277, allocations: 33.64 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.21e-05/0.2771, allocations: 95.98 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.2771, allocations: 7.891 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.2772, allocations: 17.72 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2773, allocations: 318.8 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.2774, allocations: 23.97 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.851e-05/0.2775, allocations: 31.95 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.2777, allocations: 52.81 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2777, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002273/0.2779, allocations: 81.59 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.278, allocations: 4 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.278, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.278, allocations: 4 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.2781, allocations: 15.92 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2781, allocations: 4 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.994e-05/0.2782, allocations: 15.89 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2782, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8262 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 8.727e-05/0.2783, allocations: 117.8 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.2783, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.2784, allocations: 11.91 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2784, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2784, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2784, allocations: 4 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.2786, allocations: 181.5 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2786, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.918e-05/0.2787, allocations: 15.98 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2787, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.2787, allocations: 4 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.2787, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2787, allocations: 320 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.279, allocations: 191.3 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.2791, allocations: 81.11 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.2791, allocations: 0 / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2792, allocations: 11.92 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.2793, allocations: 11.98 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.2793, allocations: 0 / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.424e-05/0.2793, allocations: 95.25 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2793, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002075/0.2795, allocations: 12 kB / 1.069 GB, free: 9.668 MB / 0.8262 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.0001247/0.2797, allocations: 99.19 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.2799, allocations: 63.88 kB / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2799, allocations: 0 / 1.069 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.935e-05/0.28, allocations: 24.27 kB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.2803, allocations: 15.98 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.2807, allocations: 163.3 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.281, allocations: 0.6807 MB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.281, allocations: 15.42 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.281, allocations: 0 / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of Templates: time 0.002173/0.2832, allocations: 0.8263 MB / 1.07 GB, free: 7.73 MB / 0.8262 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=400 -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/jenkins1/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