Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009209/0.0009209, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0009574/0.0009573, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.908/2.908, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004399, allocations: 12.56 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3991, allocations: 159.6 MB / 1.058 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002779/0.402, allocations: 1.66 MB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002319/0.4043, allocations: 1.112 MB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.4046, allocations: 3.938 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005469/0.4052, allocations: 147.5 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004613/0.4057, allocations: 135.5 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007288/0.4064, allocations: 174 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005167/0.407, allocations: 267.1 kB / 1.061 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.4072, allocations: 36.39 kB / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.4074, allocations: 127.4 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.4077, allocations: 123.5 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.4077, allocations: 4 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.4079, allocations: 51.91 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.4081, allocations: 75.72 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.677e-05/0.4082, allocations: 69.52 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.4086, allocations: 279.6 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.4086, allocations: 0 / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.522e-06/0.4086, allocations: 0 / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.4086, allocations: 4 kB / 1.062 GB, free: 1.004 MB / 0.8106 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.001339/0.41, allocations: 0.5758 MB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/0.41, allocations: 8.031 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.4102, allocations: 35.61 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007452/0.4109, allocations: 357.2 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.411, allocations: 15.92 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.411, allocations: 15.94 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.4113, allocations: 107.4 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4114, allocations: 0 / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.4114, allocations: 4 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4114, allocations: 4 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.4116, allocations: 59.95 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.4127, allocations: 496.5 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.4131, allocations: 138.7 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.4132, allocations: 44.83 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.4133, allocations: 4 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.4136, allocations: 113 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.4136, allocations: 0 / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0006434/0.4143, allocations: 225.2 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.4143, allocations: 55.39 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007388/0.4151, allocations: 0.5093 MB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.4151, allocations: 25.7 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.4153, allocations: 172.3 kB / 1.065 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.4154, allocations: 39.55 kB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.4154, allocations: 4 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.4156, allocations: 350.7 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.4159, allocations: 100.5 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.4161, allocations: 127.6 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.4164, allocations: 108 kB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.4164, allocations: 0 / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005819/0.417, allocations: 314.6 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.417, allocations: 8 kB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.417, allocations: 3.984 kB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.4171, allocations: 0 / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.4173, allocations: 51.92 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.4173, allocations: 3.984 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.4175, allocations: 23.91 kB / 1.066 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.4176, allocations: 19.94 kB / 1.066 GB, free: 12.71 MB / 0.8262 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 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002503/0.4178, allocations: 177.8 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/0.4179, allocations: 27.62 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.394e-05/0.418, allocations: 43.12 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.418, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.418, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.418, allocations: 4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.4184, allocations: 305.3 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4184, allocations: 0 / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.601e-05/0.4185, allocations: 19.92 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.4185, allocations: 0 / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.4186, allocations: 4 kB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.4186, allocations: 4 kB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4186, allocations: 0 / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.419, allocations: 214.5 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.4191, allocations: 120.7 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.4192, allocations: 4 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.774e-05/0.4193, allocations: 11.98 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/0.4194, allocations: 19.97 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.4194, allocations: 7.984 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004718/0.4199, allocations: 319.1 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.71e-07/0.4199, allocations: 0 / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003982/0.4203, allocations: 55.91 kB / 1.067 GB, free: 11.31 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00146/0.4218, allocations: 428.9 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005184/0.4223, allocations: 192.1 kB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4223, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.4225, allocations: 61.03 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.423, allocations: 78.09 kB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.4241, allocations: 0.5719 MB / 1.069 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.4246, allocations: 0.795 MB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000187/0.4248, allocations: 50.95 kB / 1.07 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/0.4249, allocations: 31.42 kB / 1.07 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of SimCode: time 6.32e-07/0.4249, allocations: 0 / 1.07 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of Templates: time 0.00865/0.4336, allocations: 3.736 MB / 1.073 GB, free: 5.531 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches