Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002014/0.002014, allocations: 105.4 kB / 16.45 MB, free: 6.445 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.00201/0.00201, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.474/1.474, allocations: 225.6 MB / 247.8 MB, free: 3.707 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.77/2.77, allocations: 476.7 MB / 0.7611 GB, free: 15.67 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.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 71.89 kB / 1.104 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9909/0.9931, allocations: 168.7 MB / 1.269 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002209/0.9953, allocations: 0.7154 MB / 1.269 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.9965, allocations: 0.8349 MB / 1.27 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.9965, allocations: 0.75 kB / 1.27 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.9965, allocations: 9.109 kB / 1.27 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.613e-05/0.9966, allocations: 4.938 kB / 1.27 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.9968, allocations: 22.64 kB / 1.27 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.9969, allocations: 53.06 kB / 1.27 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.997, allocations: 14.38 kB / 1.27 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.798e-05/0.9971, allocations: 14.59 kB / 1.27 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.9972, allocations: 29.72 kB / 1.27 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.9972, allocations: 3.938 kB / 1.27 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.9972, allocations: 4.5 kB / 1.27 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.9973, allocations: 7.562 kB / 1.27 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.9973, allocations: 29.92 kB / 1.27 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.9974, allocations: 41.17 kB / 1.27 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9974, allocations: 0 / 1.27 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9974, allocations: 0.8438 kB / 1.27 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.9974, allocations: 0 / 1.27 GB, free: 6.508 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005342/0.998, allocations: 363.9 kB / 1.271 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.998, allocations: 9.969 kB / 1.271 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.9981, allocations: 33.27 kB / 1.271 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.9981, allocations: 6.453 kB / 1.271 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.9982, allocations: 177.1 kB / 1.271 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.9982, allocations: 6.031 kB / 1.271 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.9982, allocations: 5.656 kB / 1.271 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.9985, allocations: 68.92 kB / 1.271 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.9985, allocations: 0.9688 kB / 1.271 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.9985, allocations: 0.5625 kB / 1.271 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.9985, allocations: 5 kB / 1.271 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.9987, allocations: 59.98 kB / 1.271 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/0.9991, allocations: 293.1 kB / 1.271 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.9993, allocations: 60.91 kB / 1.272 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.9994, allocations: 32.53 kB / 1.272 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.9995, allocations: 1.094 kB / 1.272 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.9995, allocations: 35.73 kB / 1.272 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.9995, allocations: 0 / 1.272 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004218/0.9999, allocations: 105.6 kB / 1.272 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.9999, allocations: 56.64 kB / 1.272 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.359e-05/1, allocations: 106.7 kB / 1.272 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/1, allocations: 26.45 kB / 1.272 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/1, allocations: 94.89 kB / 1.272 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/1, allocations: 6.828 kB / 1.272 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/1, allocations: 19.36 kB / 1.272 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.618e-05/1, allocations: 318.5 kB / 1.272 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.807e-05/1, allocations: 21.7 kB / 1.272 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.169e-05/1, allocations: 23.8 kB / 1.272 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/1.001, allocations: 61.78 kB / 1.272 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.001, allocations: 0.6875 kB / 1.272 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002249/1.001, allocations: 87.42 kB / 1.272 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.001, allocations: 5.75 kB / 1.272 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/1.001, allocations: 0 / 1.272 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/1.001, allocations: 0.7188 kB / 1.272 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/1.001, allocations: 12.97 kB / 1.272 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.001, allocations: 0 / 1.272 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.677e-05/1.001, allocations: 16.81 kB / 1.273 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/1.001, allocations: 5.406 kB / 1.273 GB, free: 4.652 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: 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 5.901e-05/1.001, allocations: 109.2 kB / 1.273 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/1.001, allocations: 1.656 kB / 1.273 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/1.001, allocations: 10.86 kB / 1.273 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.001, allocations: 0 / 1.273 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.001, allocations: 0.9375 kB / 1.273 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/1.001, allocations: 0.5625 kB / 1.273 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/1.001, allocations: 190.5 kB / 1.273 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.001, allocations: 3.938 kB / 1.273 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.665e-05/1.001, allocations: 16.14 kB / 1.273 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.001, allocations: 0.6875 kB / 1.273 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/1.001, allocations: 5.328 kB / 1.273 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.001, allocations: 1.828 kB / 1.273 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/1.001, allocations: 0 / 1.273 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/1.002, allocations: 183.2 kB / 1.273 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.858e-05/1.002, allocations: 87.72 kB / 1.273 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/1.002, allocations: 0.75 kB / 1.273 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/1.002, allocations: 8.359 kB / 1.273 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/1.002, allocations: 15.22 kB / 1.273 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/1.002, allocations: 2.078 kB / 1.273 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.072e-05/1.002, allocations: 91.16 kB / 1.273 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.002, allocations: 0.75 kB / 1.273 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002194/1.002, allocations: 7.062 kB / 1.273 GB, free: 3.957 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 (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.000507/1.003, allocations: 0.7165 MB / 1.274 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002687/1.003, allocations: 60.34 kB / 1.274 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.003, allocations: 0 / 1.274 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/1.003, allocations: 33.61 kB / 1.274 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/1.003, allocations: 8.812 kB / 1.274 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/1.005, allocations: 1.321 MB / 1.275 GB, free: 18.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/1.005, allocations: 0.6889 MB / 1.276 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.716e-05/1.005, allocations: 4.234 kB / 1.276 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.671e-05/1.005, allocations: 17.58 kB / 1.276 GB, free: 17.33 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/1.005, allocations: 3.938 kB / 1.276 GB, free: 17.33 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/1.032, allocations: 1.858 MB / 1.278 GB, free: 16.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.084/9.116, allocations: 14.11 kB / 1.278 GB, free: 16.93 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.303014998789877]