Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_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.005514/0.005514, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001377/0.001377, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.324/2.324, allocations: 390.3 MB / 0.6648 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.91 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7845/0.7858, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001807/0.7877, allocations: 0.7018 MB / 1.088 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008938/0.7886, allocations: 0.8356 MB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.765e-05/0.7887, allocations: 0.9375 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.7887, allocations: 8.453 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.574e-05/0.7888, allocations: 9.438 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.7889, allocations: 22.22 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.758e-05/0.789, allocations: 45.11 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.7891, allocations: 12.56 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.7892, allocations: 22.22 kB / 1.089 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/0.7893, allocations: 26 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.7893, allocations: 11.67 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.7893, allocations: 4.938 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.7893, allocations: 14.84 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.7894, allocations: 13.97 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.7895, allocations: 52.5 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.7895, allocations: 0.5625 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7895, allocations: 1.094 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.7895, allocations: 0 / 1.089 GB, free: 4.059 MB / 0.8575 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.0004575/0.79, allocations: 357.7 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.79, allocations: 13.69 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.7901, allocations: 36.44 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.7901, allocations: 11.78 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.7902, allocations: 172.5 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.7902, allocations: 2.844 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.7903, allocations: 6.375 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.7905, allocations: 68.45 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.7905, allocations: 0 / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.7905, allocations: 1.156 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.7905, allocations: 5 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.7907, allocations: 48.31 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.7911, allocations: 297.2 kB / 1.09 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.7913, allocations: 65.36 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.7914, allocations: 32.78 kB / 1.09 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.7914, allocations: 0.9062 kB / 1.09 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.7915, allocations: 32.23 kB / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.7915, allocations: 0 / 1.09 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.00048/0.792, allocations: 110.3 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.792, allocations: 55.92 kB / 1.09 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.111e-05/0.7921, allocations: 106.5 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.7921, allocations: 30.92 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.7921, allocations: 86.53 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.7922, allocations: 15.3 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.7922, allocations: 15.61 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.7923, allocations: 321.6 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.7924, allocations: 26.47 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.636e-05/0.7925, allocations: 27.34 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.7927, allocations: 53.97 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.7927, allocations: 0 / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002462/0.793, allocations: 83.67 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.793, allocations: 5.312 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.793, allocations: 4 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.793, allocations: 5.422 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.7932, allocations: 11.89 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.7932, allocations: 1 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.703e-05/0.7933, allocations: 11.92 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.7933, allocations: 5.219 kB / 1.091 GB, free: 2.207 MB / 0.8575 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.33e-05/0.7934, allocations: 114 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.7934, allocations: 2.156 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.7934, allocations: 14.06 kB / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.7934, allocations: 0 / 1.091 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7934, allocations: 5.922 kB / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.7934, allocations: 0 / 1.091 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.7936, allocations: 174 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.7936, allocations: 1 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.151e-05/0.7937, allocations: 11.5 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7937, allocations: 1.031 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.7938, allocations: 1.641 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.7938, allocations: 0.75 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7938, allocations: 4 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.794, allocations: 188.8 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.7941, allocations: 82.84 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.7941, allocations: 1.828 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.7942, allocations: 11.14 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.7943, allocations: 7.578 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.7943, allocations: 10.31 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.958e-05/0.7943, allocations: 91.78 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7943, allocations: 0 / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002202/0.7946, allocations: 10.12 kB / 1.092 GB, free: 1.52 MB / 0.8575 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.0005391/0.7951, allocations: 0.7144 MB / 1.093 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002741/0.7954, allocations: 57.09 kB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.7954, allocations: 0 / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.7956, allocations: 37.59 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.7959, allocations: 5.875 kB / 1.093 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.7976, allocations: 1.319 MB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.7979, allocations: 0.6814 MB / 1.095 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.917e-05/0.7979, allocations: 5.562 kB / 1.095 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/0.798, allocations: 24.23 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of SimCode: time 5.1e-07/0.798, allocations: 4.688 kB / 1.095 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.8178, allocations: 1.862 MB / 1.097 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.797, allocations: 15 kB / 1.097 GB, free: 14.5 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intGreThr.t,intGreThr.u,intGreThr.y Variables in the result:intGreThr.t,intGreThr.u,intGreThr.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time