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.000788/0.0007913, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004225/0.004225, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.297/1.297, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.36/2.36, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002853, allocations: 16.41 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2332, allocations: 159.6 MB / 1.059 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.0008419/0.2341, allocations: 0.5031 MB / 1.059 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008636/0.235, allocations: 0.8701 MB / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.235, allocations: 0 / 1.06 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.008e-05/0.2351, allocations: 3.938 kB / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.573e-05/0.2351, allocations: 7.938 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.2353, allocations: 27.97 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.2354, allocations: 83.81 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.538e-05/0.2355, allocations: 23.98 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.07e-05/0.2356, allocations: 31.84 kB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.2356, allocations: 39.83 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.2357, allocations: 4 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.2357, allocations: 4 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.2357, allocations: 15.92 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.2358, allocations: 57.48 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.2359, allocations: 83.7 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2359, allocations: 0 / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2359, allocations: 4 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.2359, allocations: 0 / 1.06 GB, free: 3.059 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.0005389/0.2364, allocations: 399.5 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2365, allocations: 11.97 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.2365, allocations: 34.75 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.2366, allocations: 12.84 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.2367, allocations: 180.2 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.2367, allocations: 4.375 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.2367, allocations: 4.375 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.237, allocations: 113.5 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.237, allocations: 8 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.237, allocations: 3.984 kB / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2371, allocations: 3.938 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000368/0.2374, allocations: 119.9 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.2379, allocations: 348.6 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005623/0.2385, allocations: 134.5 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.2387, allocations: 68.81 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.2387, allocations: 0 / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.2387, allocations: 34.56 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.2387, allocations: 0 / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006491/0.2394, allocations: 213.5 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.2394, allocations: 55.41 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.2395, allocations: 129.6 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.2396, allocations: 29.64 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.2396, allocations: 100.1 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.2396, allocations: 11.72 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.2397, allocations: 21.7 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.2398, allocations: 318.8 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.2399, allocations: 59.94 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.2401, allocations: 55.95 kB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.2405, allocations: 116.8 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2405, allocations: 0 / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000402/0.2409, allocations: 157.5 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2409, allocations: 4 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2409, allocations: 3.984 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.2409, allocations: 0 / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.2411, allocations: 31.97 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.2411, allocations: 0 / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.2412, allocations: 27.83 kB / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.2413, allocations: 4 kB / 1.063 GB, free: 64 kB / 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 9.017e-05/0.2413, allocations: 113.8 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.2414, allocations: 7.906 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.2414, allocations: 16.36 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2414, allocations: 0 / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2414, allocations: 0 / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2414, allocations: 7.938 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.2416, allocations: 201.5 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2416, allocations: 0 / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.2418, allocations: 31.91 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2418, allocations: 0 / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.2418, allocations: 8 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2418, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2418, allocations: 0 / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004514/0.2423, allocations: 259.2 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.2423, allocations: 81.11 kB / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.2423, allocations: 0 / 1.064 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.2425, allocations: 19.97 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.2426, allocations: 31.91 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.2426, allocations: 4 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.217e-05/0.2426, allocations: 91.7 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2426, allocations: 0 / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002158/0.2428, allocations: 19.91 kB / 1.064 GB, free: 15.09 MB / 0.8262 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.0006898/0.2435, allocations: 0.7872 MB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004021/0.244, allocations: 139.9 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.244, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.2442, allocations: 75.88 kB / 1.065 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.2444, allocations: 10.66 kB / 1.065 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.2464, allocations: 1.594 MB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.2466, allocations: 0.694 MB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.492e-05/0.2467, allocations: 11.98 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.2467, allocations: 31.42 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of SimCode: time 1.613e-06/0.2467, allocations: 3.938 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.786/3.032, allocations: 2.281 MB / 1.07 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003183/3.033, allocations: 210.7 kB / 1.07 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/4.562, allocations: 6.312 kB / 1.07 GB, free: 9.223 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