Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_11_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.00191/0.00191, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002097/0.002097, allocations: 195 kB / 16.53 MB, free: 6.391 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.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.547/2.547, allocations: 469.8 MB / 0.7424 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 68.23 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2305, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001684/0.2322, allocations: 0.7125 MB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008087/0.2331, allocations: 0.8291 MB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.2331, allocations: 4 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.2331, allocations: 7.938 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.82e-05/0.2332, allocations: 3.938 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001285/0.2333, allocations: 27.91 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.269e-05/0.2334, allocations: 43.92 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.704e-05/0.2335, allocations: 11.98 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.859e-05/0.2336, allocations: 23.86 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.2336, allocations: 27.91 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.2337, allocations: 4 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.2337, allocations: 8 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.2337, allocations: 7.984 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.061e-05/0.2337, allocations: 19.88 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.64e-05/0.2338, allocations: 47.78 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2338, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.12e-07/0.2338, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2338, allocations: 0 / 1.066 GB, free: 12.39 MB / 0.8262 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.0004472/0.2343, allocations: 357.4 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.2343, allocations: 16.03 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.2344, allocations: 30.75 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.2344, allocations: 4.844 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.2345, allocations: 172.3 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.2346, allocations: 8.375 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.2346, allocations: 384 / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.2348, allocations: 77.52 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.2348, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.2348, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2348, allocations: 3.984 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.235, allocations: 55.95 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.2354, allocations: 284.7 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.2356, allocations: 66.48 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.2357, allocations: 36.91 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.2357, allocations: 3.938 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.2357, allocations: 34.56 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2357, allocations: 0 / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003685/0.2361, allocations: 101.6 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2361, allocations: 63.34 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.673e-05/0.2362, allocations: 105.8 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.2363, allocations: 25.7 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.2363, allocations: 88.05 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.2363, allocations: 11.89 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.2364, allocations: 17.72 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2365, allocations: 318.8 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-05/0.2366, allocations: 23.98 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.068e-05/0.2367, allocations: 31.97 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.2369, allocations: 48.81 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2369, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002216/0.2371, allocations: 81.59 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.2371, allocations: 4 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.2371, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.2371, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.2372, allocations: 11.98 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2373, allocations: 4.297 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.2373, allocations: 15.91 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.2373, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 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.531e-05/0.2374, allocations: 117.7 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.2375, allocations: 4 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.2375, allocations: 11.91 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.2375, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2375, allocations: 4 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.2375, allocations: 0 / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.2377, allocations: 181.6 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2377, allocations: 4 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.079e-05/0.2378, allocations: 11.98 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2378, allocations: 336 / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.2378, allocations: 11.94 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2378, allocations: 3.984 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2378, allocations: 4 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.2381, allocations: 191.3 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.2381, allocations: 77.11 kB / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.2381, allocations: 0 / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.202e-05/0.2382, allocations: 7.984 kB / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.2383, allocations: 11.98 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.2383, allocations: 8 kB / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.83e-05/0.2383, allocations: 87.27 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2383, allocations: 0 / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001987/0.2386, allocations: 11.94 kB / 1.069 GB, free: 9.262 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: 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.0005412/0.2391, allocations: 0.7162 MB / 1.069 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.2393, allocations: 63.94 kB / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.2393, allocations: 0 / 1.069 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.2395, allocations: 31.92 kB / 1.069 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.2397, allocations: 7.984 kB / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.2411, allocations: 1.311 MB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.2413, allocations: 0.6807 MB / 1.071 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.939e-05/0.2414, allocations: 11.98 kB / 1.071 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.2414, allocations: 19.44 kB / 1.071 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.2414, allocations: 0 / 1.071 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.171/4.412, allocations: 1.806 MB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/16.64, allocations: 11.58 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches