Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_10_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_10_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.007547/0.007547, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.00178/0.00178, allocations: 195.5 kB / 16.79 MB, free: 5.809 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.432/1.432, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437 MB / 0.7106 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001547, allocations: 63.91 kB / 0.8692 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.713/0.7146, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003921/0.7185, allocations: 2.05 MB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.7208, allocations: 1.193 MB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/0.7211, allocations: 0 / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005167/0.7216, allocations: 151.6 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004091/0.722, allocations: 143.5 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005992/0.7227, allocations: 203.5 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000429/0.7231, allocations: 287.2 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.7233, allocations: 52.36 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002851/0.7236, allocations: 135.3 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.7238, allocations: 135.5 kB / 1.022 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.7239, allocations: 8 kB / 1.022 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.7241, allocations: 47.91 kB / 1.022 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.7242, allocations: 87.72 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.7244, allocations: 115.2 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003933/0.7248, allocations: 285.4 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.7248, allocations: 4 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7248, allocations: 3.938 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.7248, allocations: 0 / 1.022 GB, free: 13.84 MB / 0.7794 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.001189/0.726, allocations: 0.6186 MB / 1.023 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.726, allocations: 12.03 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.7262, allocations: 36.47 kB / 1.023 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005589/0.7267, allocations: 370.2 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.7268, allocations: 15.92 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.7268, allocations: 8 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.7271, allocations: 111.4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.7271, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.7271, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.7271, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.7273, allocations: 63.95 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009067/0.7282, allocations: 0.5003 MB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.7286, allocations: 126.7 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.7288, allocations: 52.83 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.7288, allocations: 4 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002584/0.7291, allocations: 119.4 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.7291, allocations: 0 / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005839/0.7297, allocations: 221.2 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.7297, allocations: 55.34 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006162/0.7303, allocations: 0.5092 MB / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.7304, allocations: 33.7 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.7305, allocations: 164.4 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.792e-05/0.7306, allocations: 39.53 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.7307, allocations: 73.88 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7309, allocations: 342.8 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.7311, allocations: 100.5 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.7313, allocations: 131.6 kB / 1.026 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.7316, allocations: 186.4 kB / 1.026 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.7316, allocations: 0 / 1.026 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005711/0.7322, allocations: 318.7 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7322, allocations: 4 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.7323, allocations: 3.938 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.7323, allocations: 8.062 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.7325, allocations: 55.91 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.7325, allocations: 0 / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.7327, allocations: 23.83 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.7328, allocations: 11.98 kB / 1.026 GB, free: 9.34 MB / 0.7794 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.0002077/0.733, allocations: 185.7 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/0.733, allocations: 31.62 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.442e-05/0.7331, allocations: 43.05 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.7331, allocations: 8 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.7331, allocations: 0 / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.7332, allocations: 0 / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.7335, allocations: 297.4 kB / 1.027 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.7335, allocations: 0 / 1.027 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.554e-05/0.7336, allocations: 11.94 kB / 1.027 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.7336, allocations: 0 / 1.027 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.7336, allocations: 15.92 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7336, allocations: 0 / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7336, allocations: 0 / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.734, allocations: 207.8 kB / 1.027 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.7341, allocations: 120.7 kB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/0.7342, allocations: 7.938 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.7343, allocations: 11.98 kB / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.7344, allocations: 15.98 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.7344, allocations: 7.984 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003538/0.7348, allocations: 319.1 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7348, allocations: 4 kB / 1.027 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003195/0.7351, allocations: 56 kB / 1.027 GB, free: 7.934 MB / 0.7794 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.001069/0.7362, allocations: 421.4 kB / 1.028 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004513/0.7366, allocations: 200 kB / 1.028 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.7366, allocations: 0 / 1.028 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.7368, allocations: 55.97 kB / 1.028 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.7373, allocations: 81.19 kB / 1.028 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.7384, allocations: 0.6397 MB / 1.029 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.739, allocations: 0.7869 MB / 1.03 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.7391, allocations: 35.42 kB / 1.03 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of SimCode: time 6.31e-07/0.7391, allocations: 4 kB / 1.03 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of Templates: time 0.009478/0.7486, allocations: 4.369 MB / 1.034 GB, free: 1.477 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches