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.007758/0.007758, allocations: 100.8 kB / 15.73 MB, free: 5.98 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.001733/0.001733, allocations: 201.6 kB / 16.68 MB, free: 5.906 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.654/1.654, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.823/2.823, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 1.054 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8231/0.8245, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001783/0.8263, allocations: 0.7767 MB / 1.208 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009185/0.8272, allocations: 0.8546 MB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.8273, allocations: 7.938 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.8273, allocations: 3.938 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.622e-05/0.8274, allocations: 19.86 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.8276, allocations: 35.95 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.8278, allocations: 87.75 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.8279, allocations: 23.98 kB / 1.209 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.087e-05/0.828, allocations: 39.84 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.942e-05/0.8281, allocations: 55.81 kB / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.8281, allocations: 8 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.597e-05/0.8282, allocations: 8 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.983e-05/0.8282, allocations: 11.98 kB / 1.209 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.8282, allocations: 43.78 kB / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.8284, allocations: 87.61 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8284, allocations: 0 / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8284, allocations: 0 / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.8284, allocations: 0 / 1.209 GB, free: 11.47 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.0006425/0.8291, allocations: 393.5 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.8291, allocations: 16.02 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.261e-05/0.8292, allocations: 34.75 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.8292, allocations: 8.844 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.8293, allocations: 180.2 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.8294, allocations: 4.375 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.8294, allocations: 16.11 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.8297, allocations: 109.5 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.8297, allocations: 0 / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.8297, allocations: 0 / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.8297, allocations: 0 / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.8301, allocations: 95.91 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000528/0.8307, allocations: 348.5 kB / 1.21 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005779/0.8313, allocations: 118.6 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.8314, allocations: 56.8 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.8315, allocations: 4 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.8315, allocations: 34.56 kB / 1.211 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.8315, allocations: 0 / 1.211 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0006195/0.8321, allocations: 185.4 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.8322, allocations: 55.41 kB / 1.211 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.8323, allocations: 129.7 kB / 1.211 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.8323, allocations: 25.7 kB / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.8323, allocations: 99.98 kB / 1.211 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.503e-05/0.8324, allocations: 19.66 kB / 1.211 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.8324, allocations: 25.7 kB / 1.211 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.8325, allocations: 318.8 kB / 1.211 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.8327, allocations: 43.95 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.8329, allocations: 47.95 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.8332, allocations: 92.78 kB / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8332, allocations: 3.938 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003809/0.8336, allocations: 137.6 kB / 1.212 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.8336, allocations: 4 kB / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.8336, allocations: 0 / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.8336, allocations: 0 / 1.212 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.8338, allocations: 23.97 kB / 1.212 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.8339, allocations: 3.938 kB / 1.212 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.834, allocations: 19.89 kB / 1.212 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.834, allocations: 11.98 kB / 1.212 GB, free: 8.629 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 8.309e-05/0.8341, allocations: 113.8 kB / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.8341, allocations: 0 / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.8342, allocations: 16.31 kB / 1.212 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.8342, allocations: 0 / 1.212 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.8342, allocations: 3.938 kB / 1.212 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.8342, allocations: 0 / 1.212 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.8344, allocations: 205.5 kB / 1.212 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8344, allocations: 0 / 1.212 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.8346, allocations: 31.91 kB / 1.212 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.8346, allocations: 0 / 1.212 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.8346, allocations: 4 kB / 1.212 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.8346, allocations: 7.922 kB / 1.212 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8346, allocations: 3.938 kB / 1.212 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.835, allocations: 231.4 kB / 1.212 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.8351, allocations: 89 kB / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.8351, allocations: 0 / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.8352, allocations: 11.98 kB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/0.8353, allocations: 31.84 kB / 1.213 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.8353, allocations: 4 kB / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.836e-05/0.8354, allocations: 95.7 kB / 1.213 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8354, allocations: 0 / 1.213 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002297/0.8356, allocations: 19.94 kB / 1.213 GB, free: 7.68 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.0006786/0.8363, allocations: 0.7598 MB / 1.213 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003844/0.8367, allocations: 111.9 kB / 1.214 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8367, allocations: 0 / 1.214 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.8369, allocations: 64.08 kB / 1.214 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.8372, allocations: 16.25 kB / 1.214 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.8393, allocations: 1.537 MB / 1.215 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.8395, allocations: 0.6924 MB / 1.216 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.934e-05/0.8396, allocations: 11.98 kB / 1.216 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.579e-05/0.8397, allocations: 31.42 kB / 1.216 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.8397, allocations: 0 / 1.216 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.8586, allocations: 2.762 MB / 1.219 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.523/8.381, allocations: 12.03 kB / 1.219 GB, free: 1.668 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