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.001667/0.001667, allocations: 108.3 kB / 16.45 MB, free: 6.453 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.002328/0.002328, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.495/1.495, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.134/3.134, allocations: 0.49 GB / 0.7916 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 177] 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.002049/0.002049, allocations: 77.3 kB / 1.149 GB, free: 26.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3588, allocations: 176.1 MB / 1.321 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002257/0.361, allocations: 0.8338 MB / 1.322 GB, free: 2.438 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3623, allocations: 0.9133 MB / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.3624, allocations: 11.94 kB / 1.323 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.3626, allocations: 7.875 kB / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.777e-05/0.3626, allocations: 15.86 kB / 1.323 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.3628, allocations: 27.91 kB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.363, allocations: 75.77 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3631, allocations: 23.98 kB / 1.323 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.3633, allocations: 39.84 kB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.623e-05/0.3633, allocations: 27.8 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.3634, allocations: 12 kB / 1.323 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.42e-05/0.3634, allocations: 8 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.983e-05/0.3634, allocations: 11.98 kB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.3635, allocations: 31.8 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.3637, allocations: 87.83 kB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3637, allocations: 0 / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3637, allocations: 0 / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.3637, allocations: 0 / 1.323 GB, free: 1.137 MB / 1.014 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.0006124/0.3643, allocations: 383.2 kB / 1.323 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3643, allocations: 19.97 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.3644, allocations: 38.69 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.3645, allocations: 24.83 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.3648, allocations: 198.6 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3648, allocations: 4.375 kB / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.3649, allocations: 4.375 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.365, allocations: 62.23 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3651, allocations: 7.938 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.3651, allocations: 7.922 kB / 1.324 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3651, allocations: 4 kB / 1.324 GB, free: 304 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.3652, allocations: 35.91 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.3658, allocations: 320.6 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.366, allocations: 50.55 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.677e-05/0.366, allocations: 16.92 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.366, allocations: 0 / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.3661, allocations: 34.64 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3661, allocations: 0 / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002763/0.3664, allocations: 77.66 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.3664, allocations: 59.41 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.3665, allocations: 129.7 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.3666, allocations: 33.7 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.417e-05/0.3666, allocations: 96.08 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.3666, allocations: 11.89 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.3667, allocations: 17.72 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3668, allocations: 322.8 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.3669, allocations: 19.98 kB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.806e-05/0.3669, allocations: 12 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.058e-05/0.367, allocations: 28.84 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.367, allocations: 4 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002223/0.3673, allocations: 69.56 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3673, allocations: 8 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3673, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3673, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.3674, allocations: 7.984 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3674, allocations: 4 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.898e-05/0.3674, allocations: 7.984 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.3675, allocations: 7.938 kB / 1.325 GB, free: 14.82 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 9.425e-05/0.3676, allocations: 115.4 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.3676, allocations: 11.95 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.3676, allocations: 4.25 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3676, allocations: 0 / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3676, allocations: 4 kB / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3676, allocations: 0 / 1.325 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.3679, allocations: 189.6 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3679, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.3679, allocations: 7.984 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3679, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3679, allocations: 3.938 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3679, allocations: 0 / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3679, allocations: 336 / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.3681, allocations: 167.4 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.769e-05/0.3682, allocations: 93 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.3682, allocations: 3.938 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3683, allocations: 7.984 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.3684, allocations: 7.984 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.3684, allocations: 4 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.877e-05/0.3684, allocations: 109.1 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3684, allocations: 0 / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002446/0.3687, allocations: 15.94 kB / 1.326 GB, free: 13.99 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.0005735/0.3693, allocations: 0.6929 MB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.3694, allocations: 35.97 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.3694, allocations: 4 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.323e-05/0.3695, allocations: 19.94 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.3698, allocations: 11.98 kB / 1.326 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.3714, allocations: 1.38 MB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.3718, allocations: 0.6885 MB / 1.328 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.415e-05/0.3718, allocations: 8 kB / 1.328 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.778e-05/0.3719, allocations: 19.42 kB / 1.328 GB, free: 11 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3719, allocations: 0 / 1.328 GB, free: 11 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.3985, allocations: 2.011 MB / 1.33 GB, free: 9.105 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.304/8.702, allocations: 12.03 kB / 1.33 GB, free: 9.094 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.329509701114148]