Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.001269/0.001269, allocations: 107.1 kB / 16.45 MB, free: 6.035 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.001301/0.001301, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.445/1.445, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.593/2.593, allocations: 443.5 MB / 0.7287 GB, free: 13.23 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.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.89 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8969/0.8989, allocations: 160.7 MB / 1.213 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002163/0.9011, allocations: 0.7028 MB / 1.214 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.9022, allocations: 0.8468 MB / 1.214 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.9022, allocations: 0 / 1.214 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.595e-05/0.9022, allocations: 7.922 kB / 1.214 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.257e-05/0.9023, allocations: 7.922 kB / 1.214 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001456/0.9025, allocations: 19.98 kB / 1.214 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.9026, allocations: 47.91 kB / 1.215 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.9027, allocations: 15.92 kB / 1.215 GB, free: 3.758 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.622e-05/0.9027, allocations: 15.98 kB / 1.215 GB, free: 3.742 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.118e-05/0.9028, allocations: 31.84 kB / 1.215 GB, free: 3.711 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.9028, allocations: 4 kB / 1.215 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.9028, allocations: 4 kB / 1.215 GB, free: 3.703 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.9029, allocations: 7.984 kB / 1.215 GB, free: 3.695 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.9029, allocations: 19.88 kB / 1.215 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.903, allocations: 49.61 kB / 1.215 GB, free: 3.629 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.903, allocations: 7.938 kB / 1.215 GB, free: 3.621 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.293e-06/0.903, allocations: 0 / 1.215 GB, free: 3.621 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.903, allocations: 0 / 1.215 GB, free: 3.621 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006194/0.9036, allocations: 363.3 kB / 1.215 GB, free: 3.219 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.9037, allocations: 12.62 kB / 1.215 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.9037, allocations: 30.75 kB / 1.215 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.9038, allocations: 8.938 kB / 1.215 GB, free: 3.16 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.9039, allocations: 168.3 kB / 1.215 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.904, allocations: 12.38 kB / 1.215 GB, free: 2.945 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.904, allocations: 4.125 kB / 1.215 GB, free: 2.941 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.9042, allocations: 69.64 kB / 1.215 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.9042, allocations: 0 / 1.215 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.9042, allocations: 0 / 1.215 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.9042, allocations: 3.938 kB / 1.215 GB, free: 2.863 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.9044, allocations: 51.94 kB / 1.215 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.9049, allocations: 300.7 kB / 1.216 GB, free: 2.469 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.9052, allocations: 58.55 kB / 1.216 GB, free: 2.402 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.9053, allocations: 32.84 kB / 1.216 GB, free: 2.367 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.9053, allocations: 7.938 kB / 1.216 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.9053, allocations: 34.56 kB / 1.216 GB, free: 2.316 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.9053, allocations: 0 / 1.216 GB, free: 2.316 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004278/0.9057, allocations: 101.6 kB / 1.216 GB, free: 2.211 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.9058, allocations: 51.41 kB / 1.216 GB, free: 2.148 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.9059, allocations: 113.8 kB / 1.216 GB, free: 2.027 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.9059, allocations: 25.7 kB / 1.216 GB, free: 1.996 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.906, allocations: 92.08 kB / 1.216 GB, free: 1.902 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.906, allocations: 11.95 kB / 1.216 GB, free: 1.891 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.9061, allocations: 17.72 kB / 1.216 GB, free: 1.867 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.9062, allocations: 322.7 kB / 1.216 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.87e-05/0.9063, allocations: 19.98 kB / 1.216 GB, free: 1.523 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.611e-05/0.9064, allocations: 23.97 kB / 1.217 GB, free: 1.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.9066, allocations: 60.81 kB / 1.217 GB, free: 1.438 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9066, allocations: 0 / 1.217 GB, free: 1.438 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002302/0.9069, allocations: 85.59 kB / 1.217 GB, free: 1.348 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.9069, allocations: 7.125 kB / 1.217 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.9069, allocations: 0 / 1.217 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.9069, allocations: 0 / 1.217 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.907, allocations: 15.92 kB / 1.217 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.907, allocations: 0 / 1.217 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.9071, allocations: 15.98 kB / 1.217 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.9071, allocations: 3.938 kB / 1.217 GB, free: 1.309 MB / 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: 2 (reaToInt.y,intGreThr.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.0001243/0.9072, allocations: 113.8 kB / 1.217 GB, free: 1.188 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.9073, allocations: 3.938 kB / 1.217 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.9073, allocations: 7.906 kB / 1.217 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.9073, allocations: 336 / 1.217 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.9073, allocations: 4 kB / 1.217 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.9073, allocations: 0 / 1.217 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.9075, allocations: 177.6 kB / 1.217 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.9076, allocations: 3.984 kB / 1.217 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.414e-05/0.9076, allocations: 15.98 kB / 1.217 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.9076, allocations: 0 / 1.217 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.9076, allocations: 7.938 kB / 1.217 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9077, allocations: 0 / 1.217 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9077, allocations: 4 kB / 1.217 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.908, allocations: 187.3 kB / 1.217 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.908, allocations: 93.03 kB / 1.217 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.908, allocations: 0 / 1.217 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.9081, allocations: 11.98 kB / 1.217 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.9082, allocations: 8 kB / 1.217 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.9082, allocations: 3.984 kB / 1.217 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.768e-05/0.9083, allocations: 91.52 kB / 1.217 GB, free: 496 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9083, allocations: 4 kB / 1.217 GB, free: 492 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.00022/0.9085, allocations: 7.953 kB / 1.217 GB, free: 484 kB / 0.92 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 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0007761/0.9093, allocations: 0.7086 MB / 1.218 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002666/0.9095, allocations: 63.88 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9095, allocations: 0 / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.9096, allocations: 31.97 kB / 1.218 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.91, allocations: 4 kB / 1.218 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.9118, allocations: 1.319 MB / 1.219 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.9122, allocations: 0.6807 MB / 1.22 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.766e-05/0.9122, allocations: 8 kB / 1.22 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.435e-05/0.9123, allocations: 23.53 kB / 1.22 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of SimCode: time 9.21e-07/0.9123, allocations: 0 / 1.22 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.939, allocations: 1.857 MB / 1.222 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/9.037, allocations: 6.031 kB / 1.222 GB, free: 11.76 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.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: 14.85595214413479]