Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 116.5 kB / 17.13 MB, free: 5.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002131/0.002131, allocations: 210.5 kB / 20.09 MB, free: 2.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.947/2.947, allocations: 0.49 GB / 0.7923 GB, free: 1.258 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 71.89 kB / 1.15 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9431/0.9452, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002873/0.948, allocations: 2.036 MB / 1.324 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.9498, allocations: 1.36 MB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.9499, allocations: 10.84 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003652/0.9503, allocations: 168.2 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.9506, allocations: 200.2 kB / 1.326 GB, free: 22.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.9509, allocations: 164.7 kB / 1.326 GB, free: 22.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000305/0.9512, allocations: 331.1 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.9513, allocations: 33.31 kB / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.9515, allocations: 164.3 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.9517, allocations: 165.5 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.9517, allocations: 16.19 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.9518, allocations: 55.5 kB / 1.327 GB, free: 22.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.9519, allocations: 97.19 kB / 1.327 GB, free: 22.09 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.952, allocations: 130.9 kB / 1.327 GB, free: 21.99 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.9524, allocations: 385.1 kB / 1.327 GB, free: 21.84 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9524, allocations: 1.125 kB / 1.327 GB, free: 21.84 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9524, allocations: 0 / 1.327 GB, free: 21.84 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.9524, allocations: 0 / 1.327 GB, free: 21.84 MB / 1.061 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.0009518/0.9534, allocations: 0.6506 MB / 1.328 GB, free: 21.29 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.9534, allocations: 13.48 kB / 1.328 GB, free: 21.28 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/0.9535, allocations: 37.23 kB / 1.328 GB, free: 21.26 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.954, allocations: 388.4 kB / 1.328 GB, free: 20.96 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.954, allocations: 7.719 kB / 1.328 GB, free: 20.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.954, allocations: 10.06 kB / 1.328 GB, free: 20.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.9543, allocations: 106.6 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.9543, allocations: 4 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.9543, allocations: 1.062 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.9543, allocations: 5.594 kB / 1.328 GB, free: 20.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.9545, allocations: 64.38 kB / 1.328 GB, free: 20.88 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007534/0.9552, allocations: 0.4969 MB / 1.329 GB, free: 20.51 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.9556, allocations: 132.5 kB / 1.329 GB, free: 20.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.9557, allocations: 49.33 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.9557, allocations: 1.219 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.956, allocations: 105.3 kB / 1.329 GB, free: 20.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.956, allocations: 4 kB / 1.329 GB, free: 20.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005937/0.9566, allocations: 230.3 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.9566, allocations: 57.17 kB / 1.329 GB, free: 20.19 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007005/0.9573, allocations: 0.5264 MB / 1.33 GB, free: 19.96 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.9573, allocations: 30.92 kB / 1.33 GB, free: 19.92 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.9574, allocations: 177 kB / 1.33 GB, free: 19.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.9575, allocations: 33.84 kB / 1.33 GB, free: 19.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.9576, allocations: 74.67 kB / 1.33 GB, free: 19.7 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.9576, allocations: 349.2 kB / 1.331 GB, free: 19.37 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.9579, allocations: 102.2 kB / 1.331 GB, free: 19.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.9581, allocations: 133.3 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.9584, allocations: 177.9 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.9584, allocations: 4 kB / 1.331 GB, free: 19.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005618/0.959, allocations: 341.2 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.959, allocations: 8.469 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.959, allocations: 1.125 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.959, allocations: 2.094 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.9592, allocations: 50.77 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.9593, allocations: 1.156 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.9594, allocations: 17.72 kB / 1.331 GB, free: 19.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.9594, allocations: 22.17 kB / 1.331 GB, free: 19.02 MB / 1.061 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.0001529/0.9596, allocations: 180.5 kB / 1.332 GB, free: 18.88 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.9597, allocations: 40.12 kB / 1.332 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.741e-05/0.9597, allocations: 34.25 kB / 1.332 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.9597, allocations: 3.047 kB / 1.332 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.9597, allocations: 0 / 1.332 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.9597, allocations: 1.969 kB / 1.332 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.96, allocations: 305.1 kB / 1.332 GB, free: 18.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.96, allocations: 1.531 kB / 1.332 GB, free: 18.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.141e-05/0.9601, allocations: 15.05 kB / 1.332 GB, free: 18.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.9601, allocations: 5 kB / 1.332 GB, free: 18.59 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.9601, allocations: 7.984 kB / 1.332 GB, free: 18.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.9601, allocations: 1.062 kB / 1.332 GB, free: 18.59 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.9601, allocations: 0 / 1.332 GB, free: 18.59 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/0.9605, allocations: 205 kB / 1.332 GB, free: 18.47 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.989e-05/0.9605, allocations: 118.3 kB / 1.332 GB, free: 18.35 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.9606, allocations: 13.95 kB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.9607, allocations: 7.953 kB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.9608, allocations: 16.08 kB / 1.332 GB, free: 18.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.9608, allocations: 11.28 kB / 1.332 GB, free: 18.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003474/0.9611, allocations: 321 kB / 1.333 GB, free: 18.19 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9611, allocations: 0 / 1.333 GB, free: 18.19 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003181/0.9615, allocations: 62.67 kB / 1.333 GB, free: 18.18 MB / 1.061 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.001506/0.963, allocations: 434.6 kB / 1.333 GB, free: 17.97 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004426/0.9634, allocations: 184.5 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9634, allocations: 1.062 kB / 1.333 GB, free: 17.91 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.9636, allocations: 54.09 kB / 1.333 GB, free: 17.9 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.9641, allocations: 90.83 kB / 1.333 GB, free: 17.87 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009258/0.965, allocations: 0.5936 MB / 1.334 GB, free: 17.51 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.9652, allocations: 0.7944 MB / 1.335 GB, free: 16.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.9653, allocations: 31.66 kB / 1.335 GB, free: 16.8 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.9653, allocations: 0.5312 kB / 1.335 GB, free: 16.8 MB / 1.061 GB Notification: Performance of Templates: time 0.008721/0.9741, allocations: 4.569 MB / 1.339 GB, free: 16.25 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.434201013005804]