Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.001495/0.001494, 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.001648/0.001648, 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.261/1.261, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.486/2.486, allocations: 461.9 MB / 0.7342 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 74.67 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2301, allocations: 157.4 MB / 1.052 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00181/0.232, allocations: 0.7818 MB / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008531/0.2328, allocations: 0.8352 MB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.2329, allocations: 0 / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.932e-05/0.233, allocations: 7.922 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.692e-05/0.233, allocations: 0 / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.2332, allocations: 19.97 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.653e-05/0.2332, allocations: 43.86 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.415e-05/0.2334, allocations: 15.98 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.011e-05/0.2334, allocations: 19.92 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.822e-05/0.2335, allocations: 31.84 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.2335, allocations: 0 / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.2335, allocations: 4 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.2336, allocations: 7.984 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.2336, allocations: 15.88 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.778e-05/0.2337, allocations: 47.84 kB / 1.054 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2337, allocations: 4 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2337, allocations: 0 / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.2337, allocations: 0 / 1.054 GB, free: 6.41 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.0004855/0.2342, allocations: 355.7 kB / 1.054 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2342, allocations: 12.03 kB / 1.054 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.2343, allocations: 30.75 kB / 1.054 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.2343, allocations: 12.83 kB / 1.054 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.2344, allocations: 164.3 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2345, allocations: 8.312 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.2345, allocations: 8.375 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.2347, allocations: 73.53 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.2347, allocations: 0 / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.2347, allocations: 0 / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2347, allocations: 0 / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.2349, allocations: 51.94 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.2353, allocations: 296.7 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.2355, allocations: 66.52 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.709e-05/0.2356, allocations: 28.88 kB / 1.055 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.2356, allocations: 7.938 kB / 1.055 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.2357, allocations: 34.56 kB / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2357, allocations: 0 / 1.055 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003668/0.236, allocations: 101.6 kB / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.2361, allocations: 55.39 kB / 1.055 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/0.2362, allocations: 113.8 kB / 1.055 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.2362, allocations: 29.7 kB / 1.055 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.2362, allocations: 92.05 kB / 1.055 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.2362, allocations: 3.906 kB / 1.055 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.2363, allocations: 21.7 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.585e-05/0.2364, allocations: 318.8 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.565e-05/0.2365, allocations: 23.97 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.373e-05/0.2366, allocations: 19.98 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.2367, allocations: 57.09 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2367, allocations: 0 / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002262/0.237, allocations: 85.62 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.237, allocations: 8.938 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.237, allocations: 0 / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.237, allocations: 3.938 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.2371, allocations: 11.98 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2371, allocations: 0 / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.372e-05/0.2372, allocations: 11.98 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.2372, allocations: 4 kB / 1.056 GB, free: 4.109 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,intGreThr.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 6.747e-05/0.2373, allocations: 113.8 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.2373, allocations: 7.906 kB / 1.056 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.2374, allocations: 7.906 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2374, allocations: 4 kB / 1.056 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2374, allocations: 0 / 1.056 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2374, allocations: 3.984 kB / 1.056 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.2375, allocations: 181.5 kB / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2376, allocations: 0 / 1.056 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-05/0.2376, allocations: 11.98 kB / 1.056 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2377, allocations: 3.938 kB / 1.056 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.2377, allocations: 7.922 kB / 1.056 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2377, allocations: 0 / 1.056 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2377, allocations: 0 / 1.056 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.2379, allocations: 195.3 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.238, allocations: 81.11 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.238, allocations: 0 / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.932e-05/0.2381, allocations: 7.984 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.2382, allocations: 11.98 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.2382, allocations: 4 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.659e-05/0.2382, allocations: 79.28 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2382, allocations: 0 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002121/0.2384, allocations: 15.94 kB / 1.057 GB, free: 3.289 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 (intGreThr.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.0005024/0.239, allocations: 0.7201 MB / 1.057 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.2392, allocations: 51.95 kB / 1.057 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2392, allocations: 4 kB / 1.057 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.2393, allocations: 31.97 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.2396, allocations: 4 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.2409, allocations: 1.337 MB / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.2411, allocations: 0.6809 MB / 1.059 GB, free: 336 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.114e-05/0.2411, allocations: 4 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.2412, allocations: 15.42 kB / 1.06 GB, free: 316 kB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.2412, allocations: 4 kB / 1.06 GB, free: 312 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.2749, allocations: 1.602 MB / 1.061 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.2751, allocations: 227.3 kB / 1.061 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/1.955, allocations: 0 / 1.061 GB, free: 14.58 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches