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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002325/0.002325, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 249.4 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7629 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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: Performance of FrontEnd - loaded program: time 0.003076/0.003076, allocations: 71.89 kB / 1.107 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.027, allocations: 168.7 MB / 1.272 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002038/1.029, allocations: 0.8372 MB / 1.272 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001024/1.03, allocations: 0.8754 MB / 1.273 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.88e-05/1.03, allocations: 3.031 kB / 1.273 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/1.03, allocations: 14.78 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/1.03, allocations: 10.11 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/1.03, allocations: 34.44 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/1.03, allocations: 72.73 kB / 1.273 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/1.031, allocations: 26.64 kB / 1.273 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.466e-05/1.031, allocations: 34.48 kB / 1.273 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/1.031, allocations: 33.5 kB / 1.273 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/1.031, allocations: 5.469 kB / 1.273 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.567e-05/1.031, allocations: 5.062 kB / 1.273 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/1.031, allocations: 12.61 kB / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/1.031, allocations: 32.38 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/1.031, allocations: 74.94 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.031, allocations: 0.6875 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.263e-06/1.031, allocations: 0 / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.127e-05/1.031, allocations: 4.719 kB / 1.274 GB, free: 6.152 MB / 0.9981 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.0004788/1.031, allocations: 390.9 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/1.031, allocations: 10.77 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.825e-05/1.031, allocations: 34.83 kB / 1.274 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/1.032, allocations: 8.953 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/1.032, allocations: 210.2 kB / 1.274 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/1.032, allocations: 6.344 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/1.032, allocations: 11.31 kB / 1.274 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/1.032, allocations: 59.28 kB / 1.274 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/1.032, allocations: 3.938 kB / 1.274 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/1.032, allocations: 0.7188 kB / 1.274 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/1.032, allocations: 1.875 kB / 1.274 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/1.032, allocations: 34.14 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/1.032, allocations: 322.3 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/1.033, allocations: 46.88 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/1.033, allocations: 16.16 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/1.033, allocations: 0.7812 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/1.033, allocations: 40.69 kB / 1.275 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/1.033, allocations: 1 kB / 1.275 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002425/1.033, allocations: 74.48 kB / 1.275 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/1.033, allocations: 56.19 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.249e-05/1.033, allocations: 134.7 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/1.033, allocations: 26.33 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/1.033, allocations: 94.84 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/1.033, allocations: 10.83 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/1.033, allocations: 18.73 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.628e-05/1.033, allocations: 325.1 kB / 1.275 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.379e-05/1.033, allocations: 13.3 kB / 1.275 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.387e-05/1.033, allocations: 15.09 kB / 1.275 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.078e-05/1.033, allocations: 34.2 kB / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.033, allocations: 0.7188 kB / 1.276 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000127/1.033, allocations: 72.69 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.033, allocations: 9.094 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/1.033, allocations: 0 / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/1.034, allocations: 0.75 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.382e-05/1.034, allocations: 7.344 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/1.034, allocations: 0.5312 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/1.034, allocations: 18.73 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/1.034, allocations: 6 kB / 1.276 GB, free: 4.254 MB / 0.9981 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 5.32e-05/1.034, allocations: 112.9 kB / 1.276 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/1.034, allocations: 7.719 kB / 1.276 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.992e-05/1.034, allocations: 11.81 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/1.034, allocations: 1.156 kB / 1.276 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.034, allocations: 3.938 kB / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.034, allocations: 2.016 kB / 1.276 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/1.034, allocations: 185.8 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/1.034, allocations: 0 / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/1.034, allocations: 6.031 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/1.034, allocations: 0 / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/1.034, allocations: 1.062 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.034, allocations: 6.719 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.034, allocations: 1.094 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/1.034, allocations: 157.3 kB / 1.276 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.161e-05/1.034, allocations: 83.75 kB / 1.276 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/1.034, allocations: 2.828 kB / 1.276 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/1.034, allocations: 8.844 kB / 1.276 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/1.034, allocations: 14.47 kB / 1.276 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/1.034, allocations: 2 kB / 1.276 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.264e-05/1.034, allocations: 108.6 kB / 1.276 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.034, allocations: 0 / 1.276 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002226/1.035, allocations: 11.89 kB / 1.276 GB, free: 3.562 MB / 0.9981 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.0003256/1.035, allocations: 0.6963 MB / 1.277 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001537/1.035, allocations: 34.16 kB / 1.277 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.035, allocations: 0 / 1.277 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.461e-05/1.035, allocations: 14.72 kB / 1.277 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/1.035, allocations: 9.344 kB / 1.277 GB, free: 2.875 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/1.037, allocations: 1.419 MB / 1.278 GB, free: 17.61 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/1.037, allocations: 0.6929 MB / 1.279 GB, free: 16.91 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.675e-05/1.037, allocations: 4.391 kB / 1.279 GB, free: 16.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/1.037, allocations: 22.31 kB / 1.279 GB, free: 16.89 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/1.037, allocations: 0 / 1.279 GB, free: 16.89 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/1.061, allocations: 1.984 MB / 1.281 GB, free: 16.49 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.835/8.896, allocations: 14.5 kB / 1.281 GB, free: 16.49 MB / 1.014 GB " [Timeout remaining time 291] (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 --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_2/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] "" Variables in the reference:time,gre.u,gre.t,gre.y,greHys.y Variables in the result:gre.h,gre.pre_y_start,gre.t,gre.u,gre.y,greHys.h,greHys.pre_y_start,greHys.t,greHys.u,greHys.y,sin.amplitude,sin.freqHz,sin.offset,sin.phase,sin.startTime,sin.y,time [Calling sys.exit(0), Time elapsed: 15.06267913201009]