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.001476/0.001476, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001947/0.001948, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.485/2.485, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 64.05 kB / 0.8694 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6025/0.6041, allocations: 151.6 MB / 1.017 GB, free: 2.609 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001858/0.606, allocations: 0.7033 MB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008774/0.6069, allocations: 0.8429 MB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.075e-05/0.6069, allocations: 0 / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.607, allocations: 0 / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.869e-05/0.607, allocations: 3.938 kB / 1.019 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.6072, allocations: 23.91 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.041e-05/0.6073, allocations: 47.86 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.881e-05/0.6074, allocations: 19.97 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.509e-05/0.6075, allocations: 23.92 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.762e-05/0.6075, allocations: 19.92 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.6075, allocations: 4 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.6076, allocations: 4 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.145e-05/0.6076, allocations: 11.98 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.6076, allocations: 27.84 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.907e-05/0.6077, allocations: 39.88 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6077, allocations: 4 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6077, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.6078, allocations: 0 / 1.019 GB, free: 0.8242 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.000475/0.6082, allocations: 361.5 kB / 1.02 GB, free: 436 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.6083, allocations: 12.02 kB / 1.02 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.508e-05/0.6083, allocations: 38.75 kB / 1.02 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.6083, allocations: 4.875 kB / 1.02 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.6085, allocations: 168.3 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.6085, allocations: 384 / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.6085, allocations: 4.375 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.6087, allocations: 69.58 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.6087, allocations: 4 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.6088, allocations: 8 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.6088, allocations: 0 / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.609, allocations: 51.94 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.6094, allocations: 288.7 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.6096, allocations: 74.5 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.6097, allocations: 24.89 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.6097, allocations: 0 / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.6098, allocations: 34.55 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.6098, allocations: 4 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004007/0.6102, allocations: 113.5 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.6102, allocations: 55.41 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.429e-05/0.6103, allocations: 109.8 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.6103, allocations: 25.7 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.6104, allocations: 84.14 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.6104, allocations: 19.75 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.6104, allocations: 17.7 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.819e-05/0.6105, allocations: 322.8 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.6106, allocations: 23.97 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.201e-05/0.6107, allocations: 24.17 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.6109, allocations: 56.83 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6109, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002377/0.6112, allocations: 89.64 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.6112, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.6112, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.6112, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.6113, allocations: 11.98 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.6114, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.962e-05/0.6114, allocations: 11.98 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.6115, allocations: 4 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 7.492e-05/0.6115, allocations: 121.8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.6116, allocations: 3.906 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.6116, allocations: 7.891 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6116, allocations: 7.938 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6116, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.6116, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.6118, allocations: 181.6 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.6118, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.711e-05/0.6119, allocations: 15.92 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6119, allocations: 4 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.6119, allocations: 4 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.6119, allocations: 0 / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6119, allocations: 0 / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.6122, allocations: 179.4 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.6122, allocations: 81.02 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.6123, allocations: 4 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.6124, allocations: 15.92 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.6124, allocations: 11.98 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.6125, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.632e-05/0.6125, allocations: 95.2 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6125, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002324/0.6127, allocations: 7.938 kB / 1.022 GB, free: 13.69 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.0005334/0.6133, allocations: 0.7125 MB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.6135, allocations: 56.03 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6136, allocations: 0 / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.6137, allocations: 36.06 kB / 1.023 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.0002771/0.614, allocations: 9.891 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.6154, allocations: 1.323 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.6156, allocations: 0.6845 MB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.312e-05/0.6157, allocations: 11.98 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.6157, allocations: 15.44 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of SimCode: time 1.673e-06/0.6157, allocations: 0 / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3232/0.939, allocations: 1.809 MB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/8.684, allocations: 1.906 kB / 1.026 GB, free: 8.996 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