Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001966/0.001966, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002711/0.002711, allocations: 217.2 kB / 22.24 MB, free: 5.258 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.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.177/3.177, allocations: 0.49 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_12_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.002018/0.002018, allocations: 61.56 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.389, allocations: 176.1 MB / 1.326 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.00218/0.3912, allocations: 0.8092 MB / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3925, allocations: 0.9094 MB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.3926, allocations: 3.938 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.3928, allocations: 15.88 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.016e-05/0.3928, allocations: 11.86 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.3931, allocations: 23.92 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.3933, allocations: 79.77 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3934, allocations: 24.25 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.3935, allocations: 35.8 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.427e-05/0.3936, allocations: 31.86 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3936, allocations: 8 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.513e-05/0.3937, allocations: 12 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.3937, allocations: 15.91 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.3937, allocations: 23.88 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.3939, allocations: 83.61 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3939, allocations: 0 / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3939, allocations: 0 / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3939, allocations: 3.938 kB / 1.328 GB, free: 15.44 MB / 1.029 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.000576/0.3945, allocations: 314 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3945, allocations: 8.031 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/0.3945, allocations: 38.75 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.3947, allocations: 20.81 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.3949, allocations: 148.1 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.395, allocations: 4.375 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.395, allocations: 384 / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3951, allocations: 62.23 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3951, allocations: 11.94 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3951, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3952, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.3953, allocations: 39.91 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.3958, allocations: 279.8 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.3959, allocations: 50.58 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.396, allocations: 12.92 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.396, allocations: 4 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.396, allocations: 38.56 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.396, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002731/0.3963, allocations: 81.77 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.3964, allocations: 51.41 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3965, allocations: 135.4 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.3965, allocations: 25.7 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.876e-05/0.3966, allocations: 100.1 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.3966, allocations: 7.953 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.3966, allocations: 21.72 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3968, allocations: 322.8 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.303e-05/0.3968, allocations: 12 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.014e-05/0.3969, allocations: 19.97 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.694e-05/0.397, allocations: 32.84 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.397, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001486/0.3971, allocations: 69.56 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3971, allocations: 8 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.3972, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3972, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/0.3972, allocations: 7.938 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3972, allocations: 0 / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.482e-05/0.3973, allocations: 7.984 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3973, allocations: 7.938 kB / 1.33 GB, free: 13.34 MB / 1.029 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.0001005/0.3974, allocations: 118.4 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.3974, allocations: 7.953 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.3975, allocations: 8.344 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.3975, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3975, allocations: 4 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3975, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.3977, allocations: 148.7 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.3977, allocations: 4 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.3977, allocations: 7.984 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3977, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3977, allocations: 4 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3977, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3977, allocations: 3.938 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.3979, allocations: 159.4 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.398, allocations: 19.89 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.398, allocations: 0 / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.3981, allocations: 11.98 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.3982, allocations: 7.984 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3982, allocations: 0 / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.394e-05/0.3982, allocations: 108.4 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3982, allocations: 4 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002249/0.3985, allocations: 8 kB / 1.33 GB, free: 12.64 MB / 1.029 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.0005293/0.399, allocations: 0.6967 MB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.3992, allocations: 40.19 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3992, allocations: 0 / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.068e-05/0.3992, allocations: 12 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.3997, allocations: 15.92 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.4018, allocations: 1.373 MB / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.4019, allocations: 83.25 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.688e-05/0.402, allocations: 4 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.4021, allocations: 19.42 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of SimCode: time 6.81e-07/0.4021, allocations: 3.938 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03952/0.4416, allocations: 2.605 MB / 1.335 GB, free: 7.812 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.69, allocations: 2.25 kB / 1.335 GB, free: 7.812 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.486606513994047]