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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001206/0.001206, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001245/0.001245, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.238/1.238, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.458/2.458, allocations: 461.8 MB / 0.7342 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001212, allocations: 72.48 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.233, allocations: 157.4 MB / 1.052 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001879/0.2349, allocations: 0.844 MB / 1.053 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009397/0.2358, allocations: 0.8663 MB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.2359, allocations: 0 / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.88e-05/0.2359, allocations: 3.938 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.336e-05/0.2361, allocations: 15.92 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.2362, allocations: 31.95 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.267e-05/0.2363, allocations: 75.84 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.927e-05/0.2364, allocations: 23.98 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.005e-05/0.2365, allocations: 39.83 kB / 1.054 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.2366, allocations: 47.83 kB / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.2366, allocations: 4 kB / 1.054 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.689e-05/0.2366, allocations: 4 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.2367, allocations: 19.91 kB / 1.054 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.2367, allocations: 39.8 kB / 1.054 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.755e-05/0.2368, allocations: 75.72 kB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2368, allocations: 0 / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.92e-07/0.2368, allocations: 0 / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.2368, allocations: 0 / 1.054 GB, free: 6.172 MB / 0.8106 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.0005597/0.2374, allocations: 399.5 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.2374, allocations: 8.031 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.656e-05/0.2375, allocations: 50.61 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.2375, allocations: 8.844 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.2376, allocations: 176.2 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.2377, allocations: 384 / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.2377, allocations: 4.375 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.238, allocations: 113.5 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.238, allocations: 3.984 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.238, allocations: 0 / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.238, allocations: 4 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003434/0.2383, allocations: 99.83 kB / 1.055 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.2388, allocations: 344.6 kB / 1.055 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005902/0.2394, allocations: 122.5 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.2396, allocations: 56.81 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.2396, allocations: 0 / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.2397, allocations: 34.56 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.2397, allocations: 0 / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0005936/0.2403, allocations: 185.4 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.2403, allocations: 55.34 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.986e-05/0.2404, allocations: 133.7 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.2404, allocations: 25.7 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.2405, allocations: 99.97 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.2405, allocations: 15.81 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.2406, allocations: 21.7 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.262e-05/0.2407, allocations: 326.8 kB / 1.056 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.2408, allocations: 43.95 kB / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.241, allocations: 43.95 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.2413, allocations: 92.78 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2413, allocations: 0 / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003637/0.2417, allocations: 138 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2417, allocations: 12.88 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2417, allocations: 0 / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.2417, allocations: 0 / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.2419, allocations: 23.97 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2419, allocations: 8.062 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.242, allocations: 15.92 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.242, allocations: 3.984 kB / 1.057 GB, free: 3.324 MB / 0.8106 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.632e-05/0.2421, allocations: 117.8 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.2421, allocations: 7.906 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.188e-05/0.2422, allocations: 8.375 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.2422, allocations: 4 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2422, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2422, allocations: 7.938 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.2424, allocations: 201.5 kB / 1.057 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2424, allocations: 0 / 1.057 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.2425, allocations: 27.97 kB / 1.057 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2425, allocations: 0 / 1.057 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.2426, allocations: 7.938 kB / 1.057 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2426, allocations: 0 / 1.057 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/0.2426, allocations: 0 / 1.057 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.243, allocations: 247.2 kB / 1.057 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.243, allocations: 85 kB / 1.057 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.2431, allocations: 0 / 1.057 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.2432, allocations: 11.98 kB / 1.057 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.2433, allocations: 27.91 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.2433, allocations: 4 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.2434, allocations: 95.27 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2434, allocations: 0 / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002201/0.2436, allocations: 16 kB / 1.058 GB, free: 2.379 MB / 0.8106 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.0006498/0.2442, allocations: 0.7631 MB / 1.058 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.2446, allocations: 107.9 kB / 1.058 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2446, allocations: 0 / 1.058 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.2448, allocations: 67.89 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.2451, allocations: 11.92 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.2469, allocations: 1.539 MB / 1.06 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.2472, allocations: 0.6887 MB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.024e-05/0.2472, allocations: 12 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/0.2473, allocations: 31.41 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2473, allocations: 0 / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4315/0.6788, allocations: 2.343 MB / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.6791, allocations: 220.8 kB / 1.063 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.542, allocations: 0 / 1.063 GB, free: 12.54 MB / 0.8262 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) Reference file matches