Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001463/0.001463, allocations: 109.2 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.001804/0.001804, allocations: 219.5 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.894/2.894, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_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.002056/0.002056, allocations: 66.62 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.322, allocations: 169.9 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002173/0.3241, allocations: 0.8316 MB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.3254, allocations: 0.9134 MB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.3256, allocations: 7.938 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.3257, allocations: 7.875 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.75e-05/0.3257, allocations: 23.84 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.3259, allocations: 31.86 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.3261, allocations: 79.77 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3262, allocations: 23.98 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.3263, allocations: 35.84 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.594e-05/0.3264, allocations: 31.8 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.3264, allocations: 4 kB / 1.285 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.3e-05/0.3265, allocations: 8 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.993e-05/0.3265, allocations: 15.98 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.3265, allocations: 27.8 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.3267, allocations: 88.25 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3267, allocations: 0 / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3267, allocations: 0 / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3267, allocations: 8 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006096/0.3273, allocations: 314 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.3274, allocations: 8.031 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.3274, allocations: 38.73 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.3276, allocations: 16.88 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.3279, allocations: 148.7 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3279, allocations: 4.375 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.328, allocations: 8.375 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.3281, allocations: 62.17 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3281, allocations: 3.938 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3282, allocations: 0 / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3282, allocations: 0 / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.3283, allocations: 39.97 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005337/0.3288, allocations: 291.8 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.329, allocations: 50.56 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.329, allocations: 16.94 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.329, allocations: 4 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.3291, allocations: 34.56 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3291, allocations: 0 / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002659/0.3293, allocations: 73.66 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.3294, allocations: 55.39 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3295, allocations: 133.8 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3295, allocations: 29.64 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.998e-05/0.3296, allocations: 100 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.3296, allocations: 15.94 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.3297, allocations: 13.72 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3298, allocations: 326.8 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-05/0.3299, allocations: 12 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.622e-05/0.3299, allocations: 15.98 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.423e-05/0.33, allocations: 28.84 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.33, allocations: 0 / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001475/0.3301, allocations: 77.56 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3302, allocations: 6.812 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3302, allocations: 0 / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3302, allocations: 4 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.3302, allocations: 0 / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3302, allocations: 4 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.3303, allocations: 7.984 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3303, allocations: 3.938 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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.0001029/0.3304, allocations: 117.8 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.3305, allocations: 7.953 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.3305, allocations: 16.66 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3305, allocations: 0 / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3305, allocations: 0 / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.3305, allocations: 3.984 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.3307, allocations: 152.7 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3307, allocations: 4 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.198e-05/0.3307, allocations: 7.938 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3307, allocations: 3.984 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3308, allocations: 8 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3308, allocations: 0 / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3308, allocations: 0 / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.331, allocations: 161.2 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.331, allocations: 3.953 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.331, allocations: 4 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.972e-05/0.3311, allocations: 11.98 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.3311, allocations: 15.92 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.3311, allocations: 0 / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.092e-05/0.3312, allocations: 119 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3312, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002382/0.3315, allocations: 11.94 kB / 1.288 GB, free: 6.781 MB / 0.9825 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005143/0.332, allocations: 0.6929 MB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.3321, allocations: 35.98 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3321, allocations: 0 / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.414e-05/0.3322, allocations: 15.92 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.3324, allocations: 8 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.334, allocations: 1.379 MB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3343, allocations: 0.6898 MB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.932e-05/0.3344, allocations: 7.984 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.3344, allocations: 23.77 kB / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3344, allocations: 0 / 1.291 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.3626, allocations: 2.123 MB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.54, allocations: 0 / 1.293 GB, free: 1.816 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.16546532092616]