Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.001521/0.001521, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001891/0.001891, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.249/1.249, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.46/2.46, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 65.78 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2367, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001784/0.2385, allocations: 0.7642 MB / 1.053 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008184/0.2394, allocations: 0.8351 MB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.2394, allocations: 7.938 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.2395, allocations: 3.938 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.867e-05/0.2396, allocations: 0 / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.2397, allocations: 27.91 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.433e-05/0.2398, allocations: 43.91 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.2399, allocations: 12 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.293e-05/0.2399, allocations: 11.92 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.857e-05/0.24, allocations: 31.91 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.24, allocations: 4 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.24, allocations: 0 / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.24, allocations: 15.92 kB / 1.054 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.2401, allocations: 15.92 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.546e-05/0.2402, allocations: 43.86 kB / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2402, allocations: 0 / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2402, allocations: 0 / 1.054 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.2402, allocations: 0 / 1.054 GB, free: 6.406 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004536/0.2406, allocations: 359.7 kB / 1.054 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2407, allocations: 11.97 kB / 1.054 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.2407, allocations: 34.73 kB / 1.054 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.2408, allocations: 12.78 kB / 1.054 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.2409, allocations: 172.3 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.2409, allocations: 8.312 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.2409, allocations: 4.375 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.2411, allocations: 65.59 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.2411, allocations: 0 / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.2411, allocations: 0 / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2411, allocations: 8 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.2413, allocations: 47.94 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.2417, allocations: 300.6 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.2419, allocations: 66.58 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.242, allocations: 32.88 kB / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.2421, allocations: 0 / 1.055 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.2421, allocations: 30.56 kB / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2421, allocations: 0 / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003812/0.2425, allocations: 109.6 kB / 1.055 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.2425, allocations: 55.39 kB / 1.055 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.2426, allocations: 113.8 kB / 1.055 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.2426, allocations: 29.7 kB / 1.055 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.2427, allocations: 88.05 kB / 1.055 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.2427, allocations: 3.906 kB / 1.055 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.2427, allocations: 21.7 kB / 1.055 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.2428, allocations: 318.8 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.2429, allocations: 27.97 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.243, allocations: 19.98 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.2432, allocations: 52.81 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2432, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002333/0.2435, allocations: 85.58 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2435, allocations: 12 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2435, allocations: 0 / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.2435, allocations: 0 / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.2436, allocations: 11.98 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2437, allocations: 0 / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.549e-05/0.2437, allocations: 15.92 kB / 1.056 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.2438, allocations: 0 / 1.056 GB, free: 4.098 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: 2 (reaToInt.y,intLesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.041e-05/0.2438, allocations: 113.8 kB / 1.056 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.2439, allocations: 7.906 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.2439, allocations: 11.91 kB / 1.056 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2439, allocations: 0 / 1.056 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.2439, allocations: 0 / 1.056 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.2439, allocations: 0 / 1.056 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.2441, allocations: 181.5 kB / 1.056 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2441, allocations: 4 kB / 1.056 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.995e-05/0.2442, allocations: 15.92 kB / 1.056 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2442, allocations: 0 / 1.056 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.2442, allocations: 3.938 kB / 1.056 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2442, allocations: 7.984 kB / 1.056 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2442, allocations: 0 / 1.056 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.2445, allocations: 187.7 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.2445, allocations: 85.09 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.2445, allocations: 0 / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.2447, allocations: 7.984 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.2447, allocations: 15.98 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.2447, allocations: 0 / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.2448, allocations: 83.28 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2448, allocations: 0 / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000214/0.245, allocations: 11.94 kB / 1.057 GB, free: 3.277 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: 2 (intLesEquThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005097/0.2455, allocations: 0.724 MB / 1.057 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.2457, allocations: 51.95 kB / 1.057 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2458, allocations: 0 / 1.057 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.2459, allocations: 35.91 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.2461, allocations: 4 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.2475, allocations: 1.341 MB / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.2477, allocations: 0.6809 MB / 1.059 GB, free: 320 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.625e-05/0.2478, allocations: 8 kB / 1.059 GB, free: 312 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.2478, allocations: 15.42 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.2478, allocations: 0 / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.15/0.3978, allocations: 1.596 MB / 1.061 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/0.3981, allocations: 226.8 kB / 1.061 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/2.003, allocations: 6.25 kB / 1.061 GB, free: 14.57 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches