Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008382/0.008383, allocations: 100.8 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.001703/0.001703, allocations: 187 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.579/2.579, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.89 kB / 0.9509 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3745, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.004255/0.3789, allocations: 2.003 MB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002377/0.3813, allocations: 1.193 MB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.3815, allocations: 11.94 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004893/0.3821, allocations: 159.5 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004622/0.3825, allocations: 159.3 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006499/0.3832, allocations: 219.8 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005139/0.3837, allocations: 307.2 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.3839, allocations: 48.38 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000372/0.3843, allocations: 155.4 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.3846, allocations: 151.4 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.053e-05/0.3847, allocations: 12 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.3849, allocations: 63.97 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.385, allocations: 91.67 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.3852, allocations: 127.1 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.3856, allocations: 366.7 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3856, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3857, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.3857, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 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.001364/0.387, allocations: 0.6341 MB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.3871, allocations: 8.031 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.3872, allocations: 36.56 kB / 1.094 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000698/0.3879, allocations: 374 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.388, allocations: 8 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.388, allocations: 12 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.3883, allocations: 103.3 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3883, allocations: 0 / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.3884, allocations: 4 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3884, allocations: 0 / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.3886, allocations: 59.97 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009537/0.3895, allocations: 0.5002 MB / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.3899, allocations: 138.6 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.39, allocations: 48.84 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.3901, allocations: 4 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.3903, allocations: 111.3 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.3903, allocations: 0 / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005866/0.3909, allocations: 221.3 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.391, allocations: 55.41 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006632/0.3917, allocations: 0.5093 MB / 1.096 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.3917, allocations: 29.7 kB / 1.096 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.3919, allocations: 172.3 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.3919, allocations: 31.61 kB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.392, allocations: 69.88 kB / 1.096 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3922, allocations: 346.8 kB / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.3924, allocations: 100.5 kB / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.3927, allocations: 139.6 kB / 1.096 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.393, allocations: 180 kB / 1.097 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.393, allocations: 0 / 1.097 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005937/0.3936, allocations: 313.2 kB / 1.097 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.3936, allocations: 16 kB / 1.097 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.3937, allocations: 0 / 1.097 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.3937, allocations: 0 / 1.097 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.3939, allocations: 55.91 kB / 1.097 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.3939, allocations: 4 kB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.3941, allocations: 19.83 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.3942, allocations: 11.94 kB / 1.097 GB, free: 7.949 MB / 0.8575 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.0001984/0.3944, allocations: 185.7 kB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.3944, allocations: 35.56 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.064e-05/0.3945, allocations: 39.12 kB / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3945, allocations: 0 / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3945, allocations: 0 / 1.097 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3945, allocations: 4 kB / 1.097 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.3948, allocations: 301.3 kB / 1.098 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3948, allocations: 0 / 1.098 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.73e-05/0.3949, allocations: 12 kB / 1.098 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.3949, allocations: 7.922 kB / 1.098 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.3949, allocations: 7.984 kB / 1.098 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3949, allocations: 4 kB / 1.098 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.395, allocations: 4 kB / 1.098 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.3953, allocations: 203.4 kB / 1.098 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.484e-05/0.3954, allocations: 108.7 kB / 1.098 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.3955, allocations: 11.94 kB / 1.098 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.3956, allocations: 7.984 kB / 1.098 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.3957, allocations: 19.97 kB / 1.098 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.3957, allocations: 12 kB / 1.098 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003252/0.396, allocations: 319.1 kB / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.396, allocations: 0 / 1.098 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000295/0.3963, allocations: 55.91 kB / 1.098 GB, free: 6.547 MB / 0.8575 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.00104/0.3974, allocations: 423.3 kB / 1.099 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004551/0.3978, allocations: 191.8 kB / 1.099 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3979, allocations: 4.125 kB / 1.099 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.398, allocations: 63.97 kB / 1.099 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.3985, allocations: 96.84 kB / 1.099 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008833/0.3994, allocations: 0.5121 MB / 1.1 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.3998, allocations: 0.7908 MB / 1.1 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001909/0.4, allocations: 46.95 kB / 1.1 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.4002, allocations: 39.42 kB / 1.1 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of SimCode: time 5.51e-07/0.4002, allocations: 0 / 1.1 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.01001/0.4102, allocations: 4.183 MB / 1.104 GB, free: 364 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches