Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001681/0.001681, allocations: 108.8 kB / 16.45 MB, free: 6.504 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.001846/0.001846, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.57/1.57, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.743/2.743, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 67.89 kB / 1.056 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9002/0.9022, allocations: 160.7 MB / 1.213 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002221/0.9044, allocations: 0.826 MB / 1.214 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.9057, allocations: 0.8727 MB / 1.215 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.96e-05/0.9058, allocations: 3.5 kB / 1.215 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.9059, allocations: 11.88 kB / 1.215 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.457e-05/0.906, allocations: 9.719 kB / 1.215 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.9061, allocations: 36.16 kB / 1.215 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.9063, allocations: 74.78 kB / 1.215 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.9064, allocations: 22.78 kB / 1.215 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.265e-05/0.9065, allocations: 34.48 kB / 1.215 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.55e-05/0.9066, allocations: 31 kB / 1.215 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.9066, allocations: 5.438 kB / 1.215 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.9066, allocations: 5.406 kB / 1.215 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.519e-05/0.9067, allocations: 13.98 kB / 1.215 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.9067, allocations: 34.11 kB / 1.215 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.9069, allocations: 72.14 kB / 1.215 GB, free: 2.25 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9069, allocations: 4 kB / 1.215 GB, free: 2.246 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9069, allocations: 0 / 1.215 GB, free: 2.246 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.9069, allocations: 1.062 kB / 1.215 GB, free: 2.246 MB / 0.92 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.0006466/0.9075, allocations: 400.4 kB / 1.215 GB, free: 1.832 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.9076, allocations: 9.344 kB / 1.215 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.348e-05/0.9076, allocations: 36.53 kB / 1.215 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.9077, allocations: 8.891 kB / 1.215 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.908, allocations: 209.4 kB / 1.216 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.908, allocations: 5.375 kB / 1.216 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.908, allocations: 8.344 kB / 1.216 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.9082, allocations: 58.36 kB / 1.216 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.9082, allocations: 3.938 kB / 1.216 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.9082, allocations: 3.984 kB / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.9082, allocations: 2.094 kB / 1.216 GB, free: 1.492 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.9083, allocations: 37.61 kB / 1.216 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.9089, allocations: 318 kB / 1.216 GB, free: 1.145 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.9091, allocations: 48.62 kB / 1.216 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.717e-05/0.9091, allocations: 20.28 kB / 1.216 GB, free: 1.09 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.9091, allocations: 1.062 kB / 1.216 GB, free: 1.09 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.9092, allocations: 34.56 kB / 1.216 GB, free: 1.047 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.9092, allocations: 1.188 kB / 1.216 GB, free: 1.047 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0002824/0.9095, allocations: 78.19 kB / 1.216 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.9095, allocations: 52.44 kB / 1.216 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.9096, allocations: 135.6 kB / 1.216 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.9097, allocations: 26.95 kB / 1.216 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.9097, allocations: 99.75 kB / 1.217 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.9098, allocations: 13.12 kB / 1.217 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.9098, allocations: 17.42 kB / 1.217 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.91, allocations: 321.2 kB / 1.217 GB, free: 332 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.91, allocations: 16.27 kB / 1.217 GB, free: 324 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.752e-05/0.9101, allocations: 15.89 kB / 1.217 GB, free: 316 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.508e-05/0.9102, allocations: 30.16 kB / 1.217 GB, free: 296 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9102, allocations: 1.062 kB / 1.217 GB, free: 296 kB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001454/0.9103, allocations: 75.72 kB / 1.217 GB, free: 236 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.9103, allocations: 5.188 kB / 1.217 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9103, allocations: 0 / 1.217 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.9104, allocations: 1.344 kB / 1.217 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.9104, allocations: 2.562 kB / 1.217 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.9104, allocations: 1.094 kB / 1.217 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.494e-05/0.9105, allocations: 13.98 kB / 1.217 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.9105, allocations: 4.812 kB / 1.217 GB, free: 224 kB / 0.92 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.0001023/0.9106, allocations: 117.9 kB / 1.217 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.9107, allocations: 7.016 kB / 1.217 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.9107, allocations: 14.39 kB / 1.217 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.9107, allocations: 3.938 kB / 1.217 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.9107, allocations: 1.156 kB / 1.217 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.9107, allocations: 0 / 1.217 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.9109, allocations: 182.2 kB / 1.217 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.9109, allocations: 1.219 kB / 1.217 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.911, allocations: 3.125 kB / 1.217 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.911, allocations: 4 kB / 1.217 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.911, allocations: 5.141 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.911, allocations: 0 / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.911, allocations: 1.25 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.9112, allocations: 167.4 kB / 1.217 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.9113, allocations: 83.25 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.9113, allocations: 1.062 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.9114, allocations: 17.45 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.9114, allocations: 11.55 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.9114, allocations: 1.312 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.814e-05/0.9115, allocations: 107.7 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9115, allocations: 0 / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002232/0.9117, allocations: 7.656 kB / 1.218 GB, free: 15.48 MB / 0.9356 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.0006149/0.9124, allocations: 0.7023 MB / 1.218 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000154/0.9125, allocations: 30.89 kB / 1.218 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9125, allocations: 0 / 1.218 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.834e-05/0.9126, allocations: 18.48 kB / 1.218 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.9128, allocations: 7.906 kB / 1.218 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.9145, allocations: 1.4 MB / 1.22 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.9149, allocations: 0.69 MB / 1.22 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.566e-05/0.9149, allocations: 6.266 kB / 1.22 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.915, allocations: 22.81 kB / 1.221 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of SimCode: time 6.52e-07/0.915, allocations: 1.062 kB / 1.221 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.9399, allocations: 2.007 MB / 1.222 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.985, allocations: 2.547 kB / 1.222 GB, free: 11.68 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.066176716703922]