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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002976/0.002976, allocations: 220.6 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.363/3.363, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 66.91 kB / 1.177 GB, free: 17.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3913, allocations: 180.2 MB / 1.353 GB, free: 8.613 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002306/0.3936, allocations: 0.712 MB / 1.354 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.3949, allocations: 0.8705 MB / 1.354 GB, free: 7.023 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.3949, allocations: 3.938 kB / 1.354 GB, free: 7.02 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.395, allocations: 0 / 1.354 GB, free: 7.02 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.983e-05/0.3951, allocations: 3.938 kB / 1.354 GB, free: 7.016 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.3952, allocations: 31.89 kB / 1.354 GB, free: 6.984 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.3953, allocations: 47.86 kB / 1.354 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3955, allocations: 11.98 kB / 1.355 GB, free: 6.926 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.992e-05/0.3955, allocations: 19.92 kB / 1.355 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.296e-05/0.3956, allocations: 27.91 kB / 1.355 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.3956, allocations: 4 kB / 1.355 GB, free: 6.875 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.3957, allocations: 4 kB / 1.355 GB, free: 6.871 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.3957, allocations: 7.984 kB / 1.355 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.3957, allocations: 19.88 kB / 1.355 GB, free: 6.844 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.3958, allocations: 52.06 kB / 1.355 GB, free: 6.793 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3958, allocations: 3.938 kB / 1.355 GB, free: 6.789 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3958, allocations: 4 kB / 1.355 GB, free: 6.785 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.3958, allocations: 4 kB / 1.355 GB, free: 6.781 MB / 1.045 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.0005796/0.3964, allocations: 278.2 kB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.3965, allocations: 8.031 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.293e-05/0.3965, allocations: 38.69 kB / 1.355 GB, free: 6.426 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.3966, allocations: 4.938 kB / 1.355 GB, free: 6.422 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.3967, allocations: 118.4 kB / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3967, allocations: 4.312 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.3968, allocations: 8.125 kB / 1.355 GB, free: 6.27 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.397, allocations: 69.66 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.397, allocations: 4 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.397, allocations: 0 / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.397, allocations: 0 / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.3972, allocations: 51.89 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.3977, allocations: 263.8 kB / 1.355 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.3979, allocations: 62.55 kB / 1.356 GB, free: 5.77 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.3981, allocations: 32.91 kB / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.3981, allocations: 0 / 1.356 GB, free: 5.734 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.3981, allocations: 34.5 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3981, allocations: 0 / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004213/0.3985, allocations: 109.6 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3986, allocations: 51.41 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.3987, allocations: 105.8 kB / 1.356 GB, free: 5.402 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.3987, allocations: 33.7 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/0.3988, allocations: 84.09 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.3988, allocations: 15.88 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.3989, allocations: 17.72 kB / 1.356 GB, free: 5.238 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.399, allocations: 326.8 kB / 1.356 GB, free: 4.91 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.3991, allocations: 19.98 kB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-05/0.3992, allocations: 23.97 kB / 1.356 GB, free: 4.867 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.3994, allocations: 52.75 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3994, allocations: 0 / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002494/0.3997, allocations: 89.61 kB / 1.356 GB, free: 4.719 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3997, allocations: 8 kB / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3997, allocations: 0 / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3997, allocations: 336 / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.3998, allocations: 11.98 kB / 1.356 GB, free: 4.699 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3998, allocations: 0 / 1.356 GB, free: 4.699 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.387e-05/0.3999, allocations: 7.984 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.3999, allocations: 7.938 kB / 1.357 GB, free: 4.684 MB / 1.045 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 0.0001077/0.4, allocations: 137.6 kB / 1.357 GB, free: 4.539 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.4001, allocations: 7.938 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/0.4001, allocations: 8 kB / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4001, allocations: 0 / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4001, allocations: 0 / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4001, allocations: 0 / 1.357 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.4003, allocations: 148.7 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4003, allocations: 4 kB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.579e-05/0.4004, allocations: 11.98 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4004, allocations: 4 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.4004, allocations: 0 / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4004, allocations: 0 / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4004, allocations: 4 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.4007, allocations: 183.4 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.4007, allocations: 0 / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.4007, allocations: 0 / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.4008, allocations: 19.98 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.4009, allocations: 11.92 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.4009, allocations: 4 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.208e-05/0.401, allocations: 87.2 kB / 1.357 GB, free: 3.992 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.401, allocations: 0 / 1.357 GB, free: 3.992 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002202/0.4012, allocations: 12 kB / 1.357 GB, free: 3.98 MB / 1.045 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.0006539/0.4019, allocations: 0.7085 MB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.4021, allocations: 59.88 kB / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4021, allocations: 0 / 1.358 GB, free: 3.188 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.4022, allocations: 31.97 kB / 1.358 GB, free: 3.156 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.4026, allocations: 9.875 kB / 1.358 GB, free: 3.148 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.4043, allocations: 1.327 MB / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.4046, allocations: 0.6807 MB / 1.36 GB, free: 1.035 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.38e-05/0.4046, allocations: 8 kB / 1.36 GB, free: 1.027 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.4047, allocations: 23.75 kB / 1.36 GB, free: 1.004 MB / 1.045 GB Notification: Performance of SimCode: time 4.5e-07/0.4047, allocations: 0 / 1.36 GB, free: 1.004 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.4362, allocations: 1.974 MB / 1.362 GB, free: 15.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.5, allocations: 5.891 kB / 1.362 GB, free: 15.16 MB / 1.061 GB " [Timeout remaining time 288] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.496514140162617]