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.0008528/0.000853, allocations: 84.38 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.001013/0.001013, 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.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.41 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.653/2.653, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003679, allocations: 8 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9443/0.9447, allocations: 142.4 MB / 0.9545 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Less): time 0.002297/0.947, allocations: 1.653 MB / 0.9561 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.9488, allocations: 1.112 MB / 0.9572 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.949, allocations: 3.25 kB / 0.9572 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.9495, allocations: 146.6 kB / 0.9573 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.9498, allocations: 125.8 kB / 0.9574 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.9503, allocations: 182.4 kB / 0.9576 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.9506, allocations: 260.4 kB / 0.9578 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.9508, allocations: 49.81 kB / 0.9579 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.951, allocations: 129.2 kB / 0.958 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.9512, allocations: 121.1 kB / 0.9581 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.9512, allocations: 5.5 kB / 0.9581 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.9513, allocations: 46.77 kB / 0.9582 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.9515, allocations: 80.28 kB / 0.9582 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.011e-05/0.9515, allocations: 62.42 kB / 0.9583 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.9518, allocations: 287.1 kB / 0.9586 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.9519, allocations: 0 / 0.9586 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9519, allocations: 3.938 kB / 0.9586 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.9519, allocations: 0 / 0.9586 GB, free: 4.594 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.0009234/0.9528, allocations: 0.5853 MB / 0.9592 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.9529, allocations: 10.19 kB / 0.9592 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.786e-05/0.9529, allocations: 30.97 kB / 0.9592 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.9534, allocations: 357.9 kB / 0.9595 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.9534, allocations: 3.656 kB / 0.9595 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.9534, allocations: 9.562 kB / 0.9596 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.9537, allocations: 108.1 kB / 0.9597 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.9537, allocations: 1.375 kB / 0.9597 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.9537, allocations: 7.953 kB / 0.9597 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.9538, allocations: 2.75 kB / 0.9597 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001601/0.9539, allocations: 58.2 kB / 0.9597 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000708/0.9546, allocations: 0.5034 MB / 0.9602 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.955, allocations: 134.9 kB / 0.9603 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.9551, allocations: 48.16 kB / 0.9604 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.9551, allocations: 5.312 kB / 0.9604 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.9553, allocations: 124.3 kB / 0.9605 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.9553, allocations: 0 / 0.9605 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005276/0.9559, allocations: 214.7 kB / 0.9607 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.9559, allocations: 56.34 kB / 0.9608 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006285/0.9566, allocations: 0.5085 MB / 0.9613 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.9566, allocations: 27.92 kB / 0.9613 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.9567, allocations: 169 kB / 0.9615 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.9568, allocations: 37.77 kB / 0.9615 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/0.9568, allocations: 5.5 kB / 0.9615 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.624e-05/0.9569, allocations: 345.4 kB / 0.9618 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.9571, allocations: 99.88 kB / 0.9619 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.9573, allocations: 129.6 kB / 0.962 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.9575, allocations: 103.1 kB / 0.9621 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.9575, allocations: 9.203 kB / 0.9622 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005455/0.9581, allocations: 321.3 kB / 0.9625 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.9581, allocations: 4.812 kB / 0.9625 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.9581, allocations: 0.7188 kB / 0.9625 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.9581, allocations: 3 kB / 0.9625 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.9583, allocations: 49.69 kB / 0.9625 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.9584, allocations: 2.031 kB / 0.9625 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.9585, allocations: 28.11 kB / 0.9625 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.9586, allocations: 11.88 kB / 0.9626 GB, free: 1.551 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 ($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.0001666/0.9587, allocations: 182.9 kB / 0.9627 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.9588, allocations: 34.42 kB / 0.9628 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.193e-05/0.9589, allocations: 37.11 kB / 0.9628 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.9589, allocations: 2.531 kB / 0.9628 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.9589, allocations: 0 / 0.9628 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.9589, allocations: 0 / 0.9628 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.9591, allocations: 304 kB / 0.9631 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9591, allocations: 5.344 kB / 0.9631 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-05/0.9592, allocations: 20.95 kB / 0.9631 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.9592, allocations: 0 / 0.9631 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.9592, allocations: 6.203 kB / 0.9631 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.9592, allocations: 1.281 kB / 0.9631 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9593, allocations: 3.984 kB / 0.9631 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.9596, allocations: 204.7 kB / 0.9633 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.9597, allocations: 114.5 kB / 0.9634 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.9597, allocations: 10.47 kB / 0.9634 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.9598, allocations: 12.72 kB / 0.9635 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.9599, allocations: 19.62 kB / 0.9635 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.9599, allocations: 5.125 kB / 0.9635 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003116/0.9602, allocations: 312.5 kB / 0.9638 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9602, allocations: 0 / 0.9638 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003235/0.9606, allocations: 64.58 kB / 0.9638 GB, free: 0.5586 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 (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.0009698/0.9615, allocations: 422.5 kB / 0.9642 GB, free: 364 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003869/0.9619, allocations: 188.2 kB / 0.9644 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.962, allocations: 3.938 kB / 0.9644 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.9621, allocations: 58.81 kB / 0.9645 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004517/0.9626, allocations: 80.66 kB / 0.9646 GB, free: 220 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.9636, allocations: 0.5825 MB / 0.9651 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.9641, allocations: 0.7846 MB / 0.9659 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001667/0.9642, allocations: 59.84 kB / 0.9659 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.9644, allocations: 26.31 kB / 0.966 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.9644, allocations: 1 kB / 0.966 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.008881/0.9732, allocations: 3.74 MB / 0.9696 GB, free: 13.2 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/jenkins/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