Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008506/0.0008503, allocations: 99.03 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.0009496/0.0009499, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.479/1.479, allocations: 223.3 MB / 241 MB, free: 5.34 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.49/2.49, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003805, allocations: 11.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7486/0.749, allocations: 142.4 MB / 0.9557 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.0009309/0.75, allocations: 498.3 kB / 0.9562 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008822/0.7509, allocations: 0.8598 MB / 0.957 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.745e-05/0.7509, allocations: 1.344 kB / 0.957 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.751, allocations: 3.938 kB / 0.957 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.358e-05/0.7511, allocations: 9.516 kB / 0.9571 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.7512, allocations: 38.2 kB / 0.9571 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.819e-05/0.7513, allocations: 77.67 kB / 0.9572 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.7514, allocations: 21.88 kB / 0.9572 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.231e-05/0.7515, allocations: 31.88 kB / 0.9572 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.7516, allocations: 48.16 kB / 0.9573 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.7516, allocations: 3.312 kB / 0.9573 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.518e-05/0.7517, allocations: 4.375 kB / 0.9573 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.7517, allocations: 9.984 kB / 0.9573 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.7517, allocations: 59.98 kB / 0.9573 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.159e-05/0.7518, allocations: 51.12 kB / 0.9574 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.7518, allocations: 8.953 kB / 0.9574 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7518, allocations: 0 / 0.9574 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.7519, allocations: 0 / 0.9574 GB, free: 6.629 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000547/0.7524, allocations: 386.5 kB / 0.9578 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.7525, allocations: 10.19 kB / 0.9578 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.7525, allocations: 12.72 kB / 0.9578 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.7526, allocations: 184.5 kB / 0.958 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.7527, allocations: 6.844 kB / 0.958 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.7527, allocations: 4.375 kB / 0.958 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.753, allocations: 118.6 kB / 0.9581 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.753, allocations: 4 kB / 0.9581 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.753, allocations: 5.125 kB / 0.9581 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.753, allocations: 1.156 kB / 0.9581 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003929/0.7534, allocations: 118.2 kB / 0.9582 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.7539, allocations: 348.3 kB / 0.9585 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006044/0.7545, allocations: 128 kB / 0.9587 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.7548, allocations: 73.03 kB / 0.9587 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.7548, allocations: 7.969 kB / 0.9587 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.7548, allocations: 35.91 kB / 0.9588 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.7548, allocations: 0 / 0.9588 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000694/0.7555, allocations: 216.7 kB / 0.959 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.7556, allocations: 52.69 kB / 0.959 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.528e-05/0.7556, allocations: 117 kB / 0.9591 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.7557, allocations: 26.77 kB / 0.9592 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/0.7557, allocations: 103.3 kB / 0.9593 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.7557, allocations: 13.78 kB / 0.9593 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.7558, allocations: 20.77 kB / 0.9593 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.7558, allocations: 324.8 kB / 0.9596 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.756, allocations: 53.61 kB / 0.9597 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.7562, allocations: 59.36 kB / 0.9597 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003574/0.7566, allocations: 123.7 kB / 0.9598 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7566, allocations: 0 / 0.9598 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004096/0.757, allocations: 158.9 kB / 0.96 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.757, allocations: 5.5 kB / 0.96 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.757, allocations: 3.984 kB / 0.96 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.7571, allocations: 0 / 0.96 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.7572, allocations: 32.59 kB / 0.96 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.7572, allocations: 0 / 0.96 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.7574, allocations: 29.61 kB / 0.9601 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.7574, allocations: 5.375 kB / 0.9601 GB, free: 4.379 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,intLesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.064e-05/0.7575, allocations: 117.9 kB / 0.9602 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.7575, allocations: 6.656 kB / 0.9602 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.7575, allocations: 17.73 kB / 0.9602 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.7575, allocations: 1.375 kB / 0.9602 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7575, allocations: 0 / 0.9602 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7576, allocations: 5.312 kB / 0.9602 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.7577, allocations: 195.5 kB / 0.9604 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7577, allocations: 0 / 0.9604 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.7579, allocations: 27.22 kB / 0.9604 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7579, allocations: 1.375 kB / 0.9604 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.7579, allocations: 5.375 kB / 0.9604 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7579, allocations: 0 / 0.9604 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7579, allocations: 0 / 0.9604 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.7584, allocations: 267 kB / 0.9607 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.7584, allocations: 82.39 kB / 0.9608 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.7584, allocations: 1.375 kB / 0.9608 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.7586, allocations: 20.34 kB / 0.9608 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.7586, allocations: 26.84 kB / 0.9608 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.7587, allocations: 10.62 kB / 0.9608 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.881e-05/0.7587, allocations: 92.89 kB / 0.9609 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7587, allocations: 0 / 0.9609 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000229/0.7589, allocations: 20.31 kB / 0.9609 GB, free: 3.578 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: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 9.952e-05/0.759, allocations: 97.12 kB / 0.961 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004234/0.7595, allocations: 128.9 kB / 0.9611 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7595, allocations: 3.938 kB / 0.9611 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.7597, allocations: 66.58 kB / 0.9612 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.76, allocations: 11.06 kB / 0.9612 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.7604, allocations: 232.8 kB / 0.9614 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.7606, allocations: 0.6902 MB / 0.9621 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.946e-05/0.7606, allocations: 12.56 kB / 0.9621 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of SimCode: time 4.2e-07/0.7606, allocations: 0 / 0.9621 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of Templates: time 0.002714/0.7634, allocations: 1.225 MB / 0.9633 GB, free: 1.852 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches