Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,fileNamePrefix="Buildings_latest_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.005885/0.005886, allocations: 96.84 kB / 15.73 MB, free: 6.055 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.001325/0.001325, allocations: 192.8 kB / 16.67 MB, free: 5.965 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.484/1.484, 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 11.0.1-master/package.mo): time 2.692/2.692, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.00155, allocations: 68.11 kB / 1.054 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9094/0.9109, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.002332/0.9133, allocations: 0.7768 MB / 1.208 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.9145, allocations: 0.8623 MB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.9146, allocations: 0 / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.19e-05/0.9147, allocations: 11.86 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.9148, allocations: 7.938 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.915, allocations: 43.89 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.9152, allocations: 83.88 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.9153, allocations: 27.92 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.983e-05/0.9154, allocations: 39.84 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.9156, allocations: 47.81 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.9156, allocations: 8 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.804e-05/0.9156, allocations: 12 kB / 1.209 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.9156, allocations: 19.92 kB / 1.209 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.9157, allocations: 39.78 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.9159, allocations: 87.72 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.9159, allocations: 0 / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9159, allocations: 0 / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.9159, allocations: 0 / 1.209 GB, free: 11.46 MB / 0.9356 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.0006989/0.9166, allocations: 389.5 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.9167, allocations: 12.03 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.964e-05/0.9167, allocations: 42.62 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.9168, allocations: 8.844 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.9169, allocations: 180.2 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.9169, allocations: 4.375 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.917, allocations: 16.06 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.9173, allocations: 97.61 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.9173, allocations: 0 / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.9173, allocations: 8 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.9174, allocations: 3.984 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/0.9178, allocations: 99.83 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.9183, allocations: 344.6 kB / 1.21 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.919, allocations: 122.5 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.9192, allocations: 56.86 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.9193, allocations: 0 / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.9193, allocations: 38.56 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.9193, allocations: 4 kB / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0007127/0.92, allocations: 169.5 kB / 1.211 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.9201, allocations: 55.34 kB / 1.211 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.9202, allocations: 129.8 kB / 1.211 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.9203, allocations: 29.7 kB / 1.211 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.9203, allocations: 96 kB / 1.211 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.9204, allocations: 31.62 kB / 1.211 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.905e-05/0.9205, allocations: 21.7 kB / 1.211 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.9207, allocations: 318.8 kB / 1.211 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.9209, allocations: 43.95 kB / 1.212 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.9211, allocations: 47.95 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.9215, allocations: 92.77 kB / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.9215, allocations: 0 / 1.212 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004219/0.9219, allocations: 133.6 kB / 1.212 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.9219, allocations: 6.344 kB / 1.212 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.9219, allocations: 7.922 kB / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.922, allocations: 0 / 1.212 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.9221, allocations: 23.97 kB / 1.212 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.9222, allocations: 7.875 kB / 1.212 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.9223, allocations: 15.89 kB / 1.212 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.9223, allocations: 4 kB / 1.212 GB, free: 8.621 MB / 0.9356 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 0.0001235/0.9224, allocations: 117.8 kB / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.9225, allocations: 4 kB / 1.212 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.579e-05/0.9225, allocations: 16.36 kB / 1.212 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.9225, allocations: 0 / 1.212 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.9225, allocations: 3.938 kB / 1.212 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.9226, allocations: 0 / 1.212 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.9228, allocations: 213.4 kB / 1.212 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.9228, allocations: 0 / 1.212 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.9229, allocations: 19.97 kB / 1.212 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.923, allocations: 8 kB / 1.212 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.923, allocations: 0 / 1.212 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.923, allocations: 3.938 kB / 1.212 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.923, allocations: 3.938 kB / 1.212 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/0.9235, allocations: 228 kB / 1.212 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.914e-05/0.9236, allocations: 85.02 kB / 1.213 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.9236, allocations: 4 kB / 1.213 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.9238, allocations: 15.97 kB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/0.9238, allocations: 19.92 kB / 1.213 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.9239, allocations: 7.984 kB / 1.213 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.981e-05/0.9239, allocations: 91.28 kB / 1.213 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3e-07/0.9239, allocations: 0 / 1.213 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002445/0.9242, allocations: 15.94 kB / 1.213 GB, free: 7.684 MB / 0.9356 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.0008412/0.925, allocations: 0.7826 MB / 1.213 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004759/0.9255, allocations: 99.91 kB / 1.214 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9255, allocations: 0 / 1.214 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.9258, allocations: 67.88 kB / 1.214 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.9261, allocations: 14 kB / 1.214 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.9285, allocations: 1.535 MB / 1.215 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.9288, allocations: 0.6962 MB / 1.216 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.019e-05/0.9289, allocations: 8 kB / 1.216 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.663e-05/0.929, allocations: 31.42 kB / 1.216 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of SimCode: time 9.21e-07/0.929, allocations: 0 / 1.216 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.9482, allocations: 2.774 MB / 1.219 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/8.67, allocations: 3.984 kB / 1.219 GB, free: 1.66 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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