Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 104 kB / 15.98 MB, free: 6.352 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.001256/0.001257, allocations: 196.9 kB / 16.91 MB, free: 6.188 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.333/1.333, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.566/2.566, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 72.27 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2939, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003478/0.2975, allocations: 2.048 MB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.2994, allocations: 1.181 MB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.2996, allocations: 7.938 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004471/0.3, allocations: 143.6 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.3004, allocations: 151.5 kB / 1.068 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.3009, allocations: 203 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.3013, allocations: 307.2 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.3014, allocations: 40.38 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.3017, allocations: 155.4 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.3019, allocations: 155.4 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.3019, allocations: 16 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.302, allocations: 55.97 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.3022, allocations: 87.73 kB / 1.069 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.3023, allocations: 131.1 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.3027, allocations: 283.7 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3027, allocations: 0 / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3027, allocations: 4 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3027, allocations: 0 / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001069/0.3038, allocations: 0.6263 MB / 1.07 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3038, allocations: 8.031 kB / 1.07 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.527e-05/0.3039, allocations: 36.5 kB / 1.07 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.3044, allocations: 374.1 kB / 1.07 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3045, allocations: 8 kB / 1.07 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.3045, allocations: 8 kB / 1.07 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.3048, allocations: 107.6 kB / 1.07 GB, free: 8.922 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3048, allocations: 11.94 kB / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3048, allocations: 3.938 kB / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3048, allocations: 0 / 1.07 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.305, allocations: 63.95 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009007/0.3059, allocations: 0.4886 MB / 1.071 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.3062, allocations: 138.7 kB / 1.071 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.3064, allocations: 52.83 kB / 1.071 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.3064, allocations: 0 / 1.071 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.3067, allocations: 115.3 kB / 1.071 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3067, allocations: 0 / 1.071 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0005115/0.3072, allocations: 217.3 kB / 1.071 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.3072, allocations: 55.41 kB / 1.071 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005581/0.3078, allocations: 0.5054 MB / 1.072 GB, free: 7.184 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.3078, allocations: 33.7 kB / 1.072 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.308, allocations: 164.4 kB / 1.072 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.308, allocations: 39.55 kB / 1.072 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.3081, allocations: 73.86 kB / 1.072 GB, free: 6.859 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3083, allocations: 342.8 kB / 1.072 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.3085, allocations: 104.5 kB / 1.072 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.3088, allocations: 139.5 kB / 1.073 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.3091, allocations: 183.7 kB / 1.073 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.3091, allocations: 4 kB / 1.073 GB, free: 6.078 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005604/0.3097, allocations: 318.2 kB / 1.073 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3097, allocations: 7.984 kB / 1.073 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3097, allocations: 3.938 kB / 1.073 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3097, allocations: 4 kB / 1.073 GB, free: 5.746 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.31, allocations: 51.91 kB / 1.073 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.31, allocations: 8.062 kB / 1.073 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.3101, allocations: 19.84 kB / 1.073 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.3102, allocations: 11.98 kB / 1.073 GB, free: 5.656 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intLes.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002119/0.3104, allocations: 183 kB / 1.073 GB, free: 5.469 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.3105, allocations: 35.61 kB / 1.073 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.804e-05/0.3105, allocations: 39.06 kB / 1.073 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.3105, allocations: 4 kB / 1.073 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3106, allocations: 3.938 kB / 1.073 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3106, allocations: 4 kB / 1.073 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.3109, allocations: 305.3 kB / 1.074 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3109, allocations: 0 / 1.074 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.852e-05/0.311, allocations: 15.92 kB / 1.074 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.311, allocations: 0 / 1.074 GB, free: 5.02 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.311, allocations: 7.938 kB / 1.074 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.311, allocations: 0 / 1.074 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.311, allocations: 0 / 1.074 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003837/0.3114, allocations: 208.7 kB / 1.074 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.3115, allocations: 112.7 kB / 1.074 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.3116, allocations: 11.94 kB / 1.074 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-05/0.3117, allocations: 7.984 kB / 1.074 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.3118, allocations: 15.98 kB / 1.074 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.3118, allocations: 8 kB / 1.074 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003609/0.3121, allocations: 315.1 kB / 1.074 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3121, allocations: 0 / 1.074 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002857/0.3124, allocations: 55.91 kB / 1.074 GB, free: 4.258 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001478/0.3139, allocations: 433.4 kB / 1.075 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004524/0.3144, allocations: 195.8 kB / 1.075 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3144, allocations: 0 / 1.075 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.3146, allocations: 59.91 kB / 1.075 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.315, allocations: 94.69 kB / 1.075 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009879/0.316, allocations: 0.631 MB / 1.076 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.3165, allocations: 0.787 MB / 1.077 GB, free: 2.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.056e-05/0.3166, allocations: 35.42 kB / 1.077 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3166, allocations: 0 / 1.077 GB, free: 2.145 MB / 0.8419 GB Notification: Performance of Templates: time 0.4061/0.7227, allocations: 4.384 MB / 1.081 GB, free: 21.49 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches