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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001548/0.001548, allocations: 100.1 kB / 15.88 MB, free: 12 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.001751/0.001751, allocations: 196.7 kB / 16.79 MB, free: 6.828 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.404/1.404, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 59.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6561/0.6575, allocations: 140.4 MB / 0.9496 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002707/0.6603, allocations: 2.041 MB / 0.9516 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.6619, allocations: 1.19 MB / 0.9528 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.662, allocations: 2.531 kB / 0.9528 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.6624, allocations: 153.8 kB / 0.9529 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.6627, allocations: 135 kB / 0.953 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.6632, allocations: 202.1 kB / 0.9532 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.6635, allocations: 289.6 kB / 0.9535 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.6636, allocations: 51.11 kB / 0.9535 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.6639, allocations: 127.5 kB / 0.9537 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.6641, allocations: 144.8 kB / 0.9538 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/0.6642, allocations: 6.344 kB / 0.9538 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.6643, allocations: 52.38 kB / 0.9539 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.6645, allocations: 83.19 kB / 0.9539 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.6646, allocations: 120.5 kB / 0.9541 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.665, allocations: 286.7 kB / 0.9543 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.665, allocations: 4 kB / 0.9543 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.665, allocations: 1.062 kB / 0.9543 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.665, allocations: 0 / 0.9543 GB, free: 5.703 MB / 0.7169 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.001021/0.6661, allocations: 0.6156 MB / 0.9549 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.6661, allocations: 13.3 kB / 0.955 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.341e-05/0.6662, allocations: 40.81 kB / 0.955 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/0.6667, allocations: 366.4 kB / 0.9553 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.6668, allocations: 15.92 kB / 0.9554 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.6668, allocations: 6.25 kB / 0.9554 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.6671, allocations: 107.2 kB / 0.9555 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.6671, allocations: 9.391 kB / 0.9555 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.6671, allocations: 0 / 0.9555 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.6671, allocations: 2.906 kB / 0.9555 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.6673, allocations: 64.89 kB / 0.9555 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007491/0.668, allocations: 0.4906 MB / 0.956 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.6684, allocations: 139.6 kB / 0.9561 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.6685, allocations: 52.45 kB / 0.9562 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.6686, allocations: 5.5 kB / 0.9562 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.6688, allocations: 104.6 kB / 0.9563 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.6688, allocations: 0 / 0.9563 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005189/0.6693, allocations: 229 kB / 0.9565 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.6694, allocations: 56.86 kB / 0.9566 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000525/0.6699, allocations: 0.5124 MB / 0.9571 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.6699, allocations: 31.58 kB / 0.9571 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.506e-05/0.67, allocations: 168 kB / 0.9573 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.67, allocations: 34.33 kB / 0.9573 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.256e-05/0.6701, allocations: 70.25 kB / 0.9574 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.516e-05/0.6702, allocations: 344.4 kB / 0.9577 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.6704, allocations: 101.5 kB / 0.9578 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.6706, allocations: 130.6 kB / 0.9579 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.6709, allocations: 183.1 kB / 0.9581 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.671, allocations: 1.375 kB / 0.9581 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005019/0.6715, allocations: 322.8 kB / 0.9584 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.6715, allocations: 5.938 kB / 0.9584 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6715, allocations: 8 kB / 0.9584 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6715, allocations: 2.312 kB / 0.9584 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.6718, allocations: 58.88 kB / 0.9585 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.6718, allocations: 1.125 kB / 0.9585 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.6719, allocations: 27.58 kB / 0.9585 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.672, allocations: 7.781 kB / 0.9585 GB, free: 2.512 MB / 0.7169 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.0001582/0.6721, allocations: 179 kB / 0.9587 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.6722, allocations: 29.97 kB / 0.9587 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.6722, allocations: 42.12 kB / 0.9587 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.6722, allocations: 4.797 kB / 0.9588 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6723, allocations: 0.75 kB / 0.9588 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.6723, allocations: 1.094 kB / 0.9588 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.6725, allocations: 295.5 kB / 0.959 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6725, allocations: 5.297 kB / 0.959 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.831e-05/0.6726, allocations: 8.594 kB / 0.959 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6726, allocations: 5.094 kB / 0.9591 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.6726, allocations: 10.05 kB / 0.9591 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.6726, allocations: 1.125 kB / 0.9591 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6726, allocations: 4 kB / 0.9591 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.673, allocations: 210.8 kB / 0.9593 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.6731, allocations: 118.5 kB / 0.9594 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.6731, allocations: 6.25 kB / 0.9594 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.6732, allocations: 12.02 kB / 0.9594 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.6733, allocations: 15.36 kB / 0.9594 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.6733, allocations: 9.422 kB / 0.9594 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000316/0.6736, allocations: 316 kB / 0.9597 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6736, allocations: 0 / 0.9597 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003204/0.674, allocations: 55.92 kB / 0.9598 GB, free: 1.535 MB / 0.7169 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.0009948/0.675, allocations: 419.5 kB / 0.9602 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004108/0.6754, allocations: 196.2 kB / 0.9604 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6754, allocations: 1.094 kB / 0.9604 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.6755, allocations: 58.06 kB / 0.9604 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.676, allocations: 82.41 kB / 0.9605 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008317/0.6769, allocations: 0.6438 MB / 0.9611 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.6771, allocations: 0.7898 MB / 0.9619 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.61e-05/0.6772, allocations: 34.14 kB / 0.9619 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.6773, allocations: 0 / 0.9619 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of Templates: time 0.007384/0.6846, allocations: 4.378 MB / 0.9662 GB, free: 13.71 MB / 0.7325 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/jenkins1/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