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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 189.4 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.534/2.534, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.91 kB / 0.8689 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6941/0.6955, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001781/0.6973, allocations: 0.7659 MB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008183/0.6981, allocations: 0.8312 MB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.819e-05/0.6982, allocations: 0 / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.529e-05/0.6982, allocations: 7.875 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.348e-05/0.6983, allocations: 0 / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.6985, allocations: 27.92 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.429e-05/0.6985, allocations: 39.91 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.6986, allocations: 23.98 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.379e-05/0.6987, allocations: 19.92 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.36e-05/0.6988, allocations: 27.84 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.6988, allocations: 4 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.6988, allocations: 4 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.6988, allocations: 8 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.6989, allocations: 23.84 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.768e-05/0.699, allocations: 43.86 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.699, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.412e-06/0.699, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.699, allocations: 4 kB / 1.019 GB, free: 0.8359 MB / 0.7637 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.0004667/0.6995, allocations: 361.5 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.6995, allocations: 8.031 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.744e-05/0.6996, allocations: 38.75 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.6996, allocations: 0.9375 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.6997, allocations: 180.2 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.6997, allocations: 384 / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.6997, allocations: 8.375 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.6999, allocations: 77.53 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.6999, allocations: 4 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-06/0.7, allocations: 0 / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.7, allocations: 0 / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.7001, allocations: 47.95 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.7005, allocations: 288.8 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.7007, allocations: 66.48 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.464e-05/0.7008, allocations: 32.89 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.7008, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.7009, allocations: 38.56 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.7009, allocations: 7.938 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003635/0.7012, allocations: 109.5 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.7013, allocations: 51.41 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.7014, allocations: 109.8 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.7014, allocations: 25.7 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.7014, allocations: 88.14 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.7014, allocations: 15.73 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.7015, allocations: 21.72 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.7016, allocations: 318.8 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.241e-05/0.7017, allocations: 23.98 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.7018, allocations: 27.91 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.7019, allocations: 52.81 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7019, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002127/0.7022, allocations: 81.59 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.7022, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.7022, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.7022, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.7023, allocations: 11.98 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.7023, allocations: 7.984 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.7024, allocations: 4 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.7024, allocations: 7.984 kB / 1.021 GB, free: 14.52 MB / 0.7794 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 6.88e-05/0.7025, allocations: 118.3 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.7025, allocations: 3.906 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.7026, allocations: 11.91 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.7026, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.7026, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.7026, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.7027, allocations: 177.6 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.7027, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.081e-05/0.7028, allocations: 11.98 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7028, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.7028, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.7029, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7029, allocations: 7.875 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.7031, allocations: 179.4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.7031, allocations: 85.39 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.7032, allocations: 8 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.7033, allocations: 11.98 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.7033, allocations: 11.98 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-06/0.7033, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.648e-05/0.7034, allocations: 87.27 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7034, allocations: 0 / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002076/0.7036, allocations: 11.94 kB / 1.021 GB, free: 13.71 MB / 0.7794 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.0004787/0.7041, allocations: 0.7241 MB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.7043, allocations: 55.94 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7043, allocations: 0 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.979e-05/0.7044, allocations: 39.91 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.7047, allocations: 8 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.7059, allocations: 1.319 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.7061, allocations: 0.6923 MB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.018e-05/0.7062, allocations: 4 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.7062, allocations: 19.44 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.7062, allocations: 0 / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.395/1.101, allocations: 1.661 MB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/1.101, allocations: 214.2 kB / 1.026 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.304/4.406, allocations: 4 kB / 1.026 GB, free: 8.938 MB / 0.7794 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches