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.008439/0.008439, allocations: 98.16 kB / 15.73 MB, free: 6.012 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.001567/0.001567, allocations: 197.3 kB / 16.67 MB, free: 5.949 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.792/2.792, allocations: 469.8 MB / 0.7425 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 64.03 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3124, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.0035/0.3159, allocations: 2.012 MB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.318, allocations: 1.204 MB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.3181, allocations: 7.938 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004788/0.3186, allocations: 159.4 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.319, allocations: 155.4 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005447/0.3195, allocations: 219.4 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003588/0.3199, allocations: 319.2 kB / 1.225 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.32, allocations: 36.38 kB / 1.225 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.3202, allocations: 147.4 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.3204, allocations: 151.4 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.3205, allocations: 16 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.3206, allocations: 59.97 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3208, allocations: 87.67 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.3209, allocations: 123.1 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.3213, allocations: 370.4 kB / 1.226 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3214, allocations: 4 kB / 1.226 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3214, allocations: 0 / 1.226 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.3214, allocations: 0 / 1.226 GB, free: 8.762 MB / 0.9825 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.001041/0.3224, allocations: 0.6339 MB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3224, allocations: 8.031 kB / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.595e-05/0.3225, allocations: 40.7 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.323, allocations: 382.2 kB / 1.227 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.3231, allocations: 15.98 kB / 1.227 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.3231, allocations: 8 kB / 1.227 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.3234, allocations: 107.6 kB / 1.227 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3234, allocations: 0 / 1.227 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.3234, allocations: 11.92 kB / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3234, allocations: 0 / 1.227 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.3236, allocations: 67.89 kB / 1.227 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008439/0.3244, allocations: 496.5 kB / 1.227 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.3247, allocations: 130.7 kB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.3249, allocations: 48.83 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.3249, allocations: 0 / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002292/0.3251, allocations: 111.3 kB / 1.228 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.3251, allocations: 0 / 1.228 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005206/0.3256, allocations: 225.2 kB / 1.228 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.3257, allocations: 63.39 kB / 1.228 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.3262, allocations: 0.4976 MB / 1.228 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.3262, allocations: 33.7 kB / 1.228 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.3263, allocations: 168.5 kB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.941e-05/0.3264, allocations: 43.67 kB / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3265, allocations: 65.97 kB / 1.229 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3266, allocations: 346.8 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.3268, allocations: 100.5 kB / 1.229 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.327, allocations: 135.6 kB / 1.229 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.3273, allocations: 187.5 kB / 1.229 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.3273, allocations: 7.938 kB / 1.229 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005288/0.3279, allocations: 321.3 kB / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3279, allocations: 7.938 kB / 1.23 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3279, allocations: 0 / 1.23 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.3279, allocations: 4 kB / 1.23 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.3282, allocations: 55.97 kB / 1.23 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.3282, allocations: 4 kB / 1.23 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.3283, allocations: 23.88 kB / 1.23 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.3284, allocations: 8 kB / 1.23 GB, free: 4.23 MB / 0.9825 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.0001816/0.3285, allocations: 181.7 kB / 1.23 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.3286, allocations: 39.7 kB / 1.23 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.429e-05/0.3287, allocations: 35.12 kB / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3287, allocations: 7.984 kB / 1.23 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3287, allocations: 4 kB / 1.23 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3287, allocations: 3.938 kB / 1.23 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.3289, allocations: 297.4 kB / 1.23 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3289, allocations: 3.984 kB / 1.23 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.381e-05/0.329, allocations: 8 kB / 1.23 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.329, allocations: 3.938 kB / 1.23 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.329, allocations: 11.98 kB / 1.23 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.329, allocations: 0 / 1.23 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.329, allocations: 3.938 kB / 1.23 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.3294, allocations: 204.8 kB / 1.23 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.844e-05/0.3295, allocations: 112.9 kB / 1.231 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.3295, allocations: 11.94 kB / 1.231 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3296, allocations: 11.98 kB / 1.231 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.3297, allocations: 15.98 kB / 1.231 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3297, allocations: 11.98 kB / 1.231 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003207/0.33, allocations: 311.1 kB / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.33, allocations: 0 / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002986/0.3303, allocations: 63.88 kB / 1.231 GB, free: 2.82 MB / 0.9825 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.001017/0.3314, allocations: 432.3 kB / 1.231 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004313/0.3318, allocations: 179.8 kB / 1.232 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3318, allocations: 0 / 1.232 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.332, allocations: 59.66 kB / 1.232 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.3324, allocations: 85.34 kB / 1.232 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000906/0.3333, allocations: 0.5348 MB / 1.232 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.3337, allocations: 0.7909 MB / 1.233 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.3338, allocations: 54.94 kB / 1.233 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.193e-05/0.3339, allocations: 35.42 kB / 1.233 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.3339, allocations: 0 / 1.233 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of Templates: time 0.008517/0.3424, allocations: 4.09 MB / 1.237 GB, free: 12.72 MB / 0.9981 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=480 -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/jenkins/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