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.0007821/0.0007821, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008919/0.0008919, allocations: 183.3 kB / 16.92 MB, free: 6.773 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.359 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.755/2.755, allocations: 437.8 MB / 0.7128 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004066, allocations: 11.98 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7714/0.7718, allocations: 153.8 MB / 1.024 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.003017/0.7749, allocations: 1.7 MB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002455/0.7774, allocations: 1.166 MB / 1.027 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000233/0.7776, allocations: 4 kB / 1.027 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005434/0.7782, allocations: 151.6 kB / 1.027 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004769/0.7787, allocations: 135.5 kB / 1.027 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007144/0.7794, allocations: 195.7 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004881/0.7799, allocations: 295.2 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.7801, allocations: 44.38 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.7804, allocations: 123.4 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.7807, allocations: 143.4 kB / 1.028 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.7807, allocations: 4 kB / 1.028 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.7809, allocations: 55.91 kB / 1.028 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.781, allocations: 75.73 kB / 1.028 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.7812, allocations: 140.8 kB / 1.028 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004185/0.7816, allocations: 281.4 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7816, allocations: 0 / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.39e-06/0.7817, allocations: 4 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.7817, allocations: 3.938 kB / 1.028 GB, free: 11.54 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.001101/0.7828, allocations: 0.5798 MB / 1.029 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.7828, allocations: 8.031 kB / 1.029 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.783, allocations: 32.56 kB / 1.029 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/0.7836, allocations: 370.2 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.7836, allocations: 8 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.7836, allocations: 12 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002707/0.7839, allocations: 105.6 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.7839, allocations: 0 / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.784, allocations: 4 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.784, allocations: 4 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.7841, allocations: 57.69 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000921/0.7851, allocations: 0.5041 MB / 1.03 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.7854, allocations: 134.8 kB / 1.03 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.7856, allocations: 48.78 kB / 1.03 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.7856, allocations: 4 kB / 1.03 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.7859, allocations: 115.1 kB / 1.03 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.804e-06/0.7859, allocations: 7.938 kB / 1.03 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005801/0.7865, allocations: 217.3 kB / 1.03 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.7865, allocations: 59.34 kB / 1.03 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006671/0.7872, allocations: 0.5131 MB / 1.031 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.7873, allocations: 25.7 kB / 1.031 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.7874, allocations: 164.4 kB / 1.031 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.737e-05/0.7875, allocations: 39.55 kB / 1.031 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.7876, allocations: 33.7 kB / 1.031 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.7877, allocations: 350.8 kB / 1.031 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.7879, allocations: 96.52 kB / 1.031 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.7882, allocations: 135.6 kB / 1.032 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.7885, allocations: 174.5 kB / 1.032 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.7886, allocations: 8 kB / 1.032 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005959/0.7892, allocations: 322.6 kB / 1.032 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.7892, allocations: 4 kB / 1.032 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.7892, allocations: 3.938 kB / 1.032 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.7892, allocations: 7.938 kB / 1.032 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.7895, allocations: 51.91 kB / 1.032 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.537e-06/0.7895, allocations: 0 / 1.032 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.7897, allocations: 23.89 kB / 1.032 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.7897, allocations: 20 kB / 1.032 GB, free: 7.109 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.000213/0.7899, allocations: 189.7 kB / 1.032 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.79, allocations: 31.62 kB / 1.032 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.244e-05/0.7901, allocations: 39.06 kB / 1.032 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.7901, allocations: 0 / 1.032 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.7901, allocations: 0 / 1.032 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7901, allocations: 0 / 1.032 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.7905, allocations: 301.5 kB / 1.033 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7905, allocations: 0 / 1.033 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.886e-05/0.7905, allocations: 15.98 kB / 1.033 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.7906, allocations: 4 kB / 1.033 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.7906, allocations: 3.938 kB / 1.033 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.7906, allocations: 0 / 1.033 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.7906, allocations: 4 kB / 1.033 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.791, allocations: 212.5 kB / 1.033 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.995e-05/0.7911, allocations: 112.7 kB / 1.033 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.7912, allocations: 15.94 kB / 1.033 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.7913, allocations: 7.984 kB / 1.033 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.7914, allocations: 15.98 kB / 1.033 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.7914, allocations: 7.984 kB / 1.033 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003759/0.7918, allocations: 311.1 kB / 1.033 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7918, allocations: 0 / 1.033 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003152/0.7921, allocations: 63.86 kB / 1.033 GB, free: 5.707 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.001145/0.7933, allocations: 432.9 kB / 1.034 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004586/0.7937, allocations: 194 kB / 1.034 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7938, allocations: 3.938 kB / 1.034 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.7939, allocations: 51.98 kB / 1.034 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.7944, allocations: 85.19 kB / 1.034 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.7955, allocations: 0.6415 MB / 1.035 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004046/0.7959, allocations: 0.7869 MB / 1.036 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.796, allocations: 39.36 kB / 1.036 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of SimCode: time 8.81e-07/0.796, allocations: 0 / 1.036 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of Templates: time 0.008327/0.8044, allocations: 4.326 MB / 1.04 GB, free: 15.28 MB / 0.795 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