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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008279/0.008279, allocations: 102 kB / 15.73 MB, free: 6.039 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.001599/0.001599, allocations: 193 kB / 16.67 MB, free: 5.961 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.2/2.2, allocations: 390.3 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 64.09 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8596/0.8609, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001741/0.8627, allocations: 0.7756 MB / 1.088 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008257/0.8635, allocations: 0.8545 MB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.8636, allocations: 1.344 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.8636, allocations: 14.39 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.478e-05/0.8637, allocations: 9.375 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.8639, allocations: 41.72 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.864, allocations: 83.33 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.8641, allocations: 30.45 kB / 1.089 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.363e-05/0.8642, allocations: 43.31 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.178e-05/0.8643, allocations: 49.53 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.8643, allocations: 7.969 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.8643, allocations: 7.875 kB / 1.089 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.8644, allocations: 19.98 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.8644, allocations: 34.98 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.8645, allocations: 86.22 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8646, allocations: 0 / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.625e-06/0.8646, allocations: 1.828 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.8646, allocations: 3.938 kB / 1.089 GB, free: 3.922 MB / 0.8575 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.0005486/0.8651, allocations: 394.5 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.8652, allocations: 9.25 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.864e-05/0.8652, allocations: 34.56 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.8652, allocations: 16.5 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.675e-05/0.8653, allocations: 179.2 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.8654, allocations: 2.953 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.8654, allocations: 11.88 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.8657, allocations: 108.3 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.8657, allocations: 0 / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.8657, allocations: 1.094 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.8657, allocations: 1.609 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.8661, allocations: 106.7 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.8666, allocations: 341.3 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006199/0.8673, allocations: 126.1 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.8675, allocations: 51.42 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.8675, allocations: 9.078 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.8675, allocations: 36.42 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.8675, allocations: 0 / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006774/0.8682, allocations: 173.1 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.8682, allocations: 56.41 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.082e-05/0.8683, allocations: 135.8 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.8683, allocations: 27.31 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.8684, allocations: 92.62 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.8684, allocations: 20.97 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.8685, allocations: 22.83 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.8685, allocations: 322.6 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.8687, allocations: 47.66 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.8689, allocations: 45.16 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.8693, allocations: 99.05 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8693, allocations: 0 / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004177/0.8697, allocations: 142.5 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.8697, allocations: 8.688 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.8697, allocations: 0.7812 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.8697, allocations: 1.453 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.8699, allocations: 26.05 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.8699, allocations: 4.688 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.87, allocations: 21.84 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.8701, allocations: 2.234 kB / 1.092 GB, free: 1.914 MB / 0.8575 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.05e-05/0.8701, allocations: 114.4 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.8702, allocations: 7.672 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.8702, allocations: 10.7 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.8702, allocations: 0.7812 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.8702, allocations: 5.578 kB / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.8702, allocations: 0 / 1.092 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.8704, allocations: 194.8 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.8704, allocations: 4.75 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.8706, allocations: 22.39 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.8706, allocations: 1.062 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.8706, allocations: 2 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.8706, allocations: 1.391 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8706, allocations: 7.875 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.871, allocations: 238.1 kB / 1.093 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.8711, allocations: 83.98 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.8711, allocations: 1.266 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.8712, allocations: 13.56 kB / 1.093 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.8713, allocations: 24.92 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.8713, allocations: 3.828 kB / 1.093 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.196e-05/0.8714, allocations: 96.52 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8714, allocations: 7.938 kB / 1.093 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002228/0.8716, allocations: 15.88 kB / 1.093 GB, free: 1.199 MB / 0.8575 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 0.0006535/0.8723, allocations: 0.7718 MB / 1.094 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004265/0.8727, allocations: 103.4 kB / 1.094 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8727, allocations: 4 kB / 1.094 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.8729, allocations: 61.05 kB / 1.094 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.8733, allocations: 21.66 kB / 1.094 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.8754, allocations: 1.519 MB / 1.095 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.8756, allocations: 0.6972 MB / 1.096 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.039e-05/0.8757, allocations: 15.66 kB / 1.096 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.963e-05/0.8758, allocations: 32.38 kB / 1.096 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.8758, allocations: 0 / 1.096 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2866/1.162, allocations: 2.755 MB / 1.099 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.925/9.087, allocations: 17.91 kB / 1.099 GB, free: 14 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.fmu > 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) "" Variables in the reference:time,intLesEqu.u1,intLesEqu.u2,intLesEqu.y Variables in the result:intLesEqu.u1,intLesEqu.u2,intLesEqu.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,reaToInt.u,reaToInt.y,reaToInt1.u,reaToInt1.y,round1.n,round1.u,round1.y,round2.n,round2.u,round2.y,time