Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_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.001141/0.001141, 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.001229/0.001229, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.434/2.434, allocations: 390.3 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.001591, allocations: 71.88 kB / 0.8127 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6878/0.6894, allocations: 140.4 MB / 0.9497 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001704/0.6911, allocations: 0.7059 MB / 0.9504 GB, free: 8.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006599/0.6918, allocations: 0.8363 MB / 0.9512 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.6918, allocations: 0 / 0.9512 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.6919, allocations: 3.938 kB / 0.9512 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.6919, allocations: 9.453 kB / 0.9513 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.6921, allocations: 23.8 kB / 0.9513 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.762e-05/0.6922, allocations: 42.84 kB / 0.9513 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.597e-05/0.6923, allocations: 10.69 kB / 0.9513 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.835e-05/0.6923, allocations: 30.94 kB / 0.9514 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.6924, allocations: 26.62 kB / 0.9514 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.6924, allocations: 4 kB / 0.9514 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.6924, allocations: 4 kB / 0.9514 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.6924, allocations: 13.23 kB / 0.9514 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.6925, allocations: 16.12 kB / 0.9514 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.66e-05/0.6926, allocations: 47.41 kB / 0.9515 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6926, allocations: 1.5 kB / 0.9515 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6926, allocations: 0 / 0.9515 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.6926, allocations: 0 / 0.9515 GB, free: 8.004 MB / 0.7169 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.0004071/0.693, allocations: 362 kB / 0.9518 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.693, allocations: 9.375 kB / 0.9518 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.742e-05/0.6931, allocations: 31.97 kB / 0.9518 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.6931, allocations: 3.469 kB / 0.9519 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.62e-05/0.6932, allocations: 174.9 kB / 0.952 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.6932, allocations: 5.469 kB / 0.952 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.6932, allocations: 6.656 kB / 0.952 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.6934, allocations: 72.72 kB / 0.9521 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.6934, allocations: 4 kB / 0.9521 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.6934, allocations: 0 / 0.9521 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.6934, allocations: 1.25 kB / 0.9521 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.6937, allocations: 54.25 kB / 0.9522 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.694, allocations: 283.8 kB / 0.9524 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.6942, allocations: 68.11 kB / 0.9525 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.6943, allocations: 34.56 kB / 0.9525 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.6943, allocations: 1.344 kB / 0.9525 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.6944, allocations: 30.56 kB / 0.9526 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.6944, allocations: 0.9062 kB / 0.9526 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003939/0.6948, allocations: 112.7 kB / 0.9527 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.6948, allocations: 56.91 kB / 0.9527 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.14e-05/0.6949, allocations: 110.8 kB / 0.9528 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.6949, allocations: 25.7 kB / 0.9528 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.144e-05/0.6949, allocations: 89.56 kB / 0.9529 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.6949, allocations: 14.12 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.695, allocations: 17.59 kB / 0.953 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.695, allocations: 323.9 kB / 0.9533 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.6951, allocations: 21.11 kB / 0.9533 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.096e-05/0.6952, allocations: 29.22 kB / 0.9533 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.6954, allocations: 57.33 kB / 0.9534 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6954, allocations: 0 / 0.9534 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002318/0.6957, allocations: 85.53 kB / 0.9535 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.6957, allocations: 9.047 kB / 0.9535 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.6957, allocations: 0 / 0.9535 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.6957, allocations: 1.094 kB / 0.9535 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.6958, allocations: 10.8 kB / 0.9535 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.6959, allocations: 1.188 kB / 0.9535 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.648e-05/0.6959, allocations: 13.3 kB / 0.9535 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.696, allocations: 1.312 kB / 0.9535 GB, free: 6.004 MB / 0.7169 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.313e-05/0.696, allocations: 116.5 kB / 0.9536 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.696, allocations: 5.375 kB / 0.9536 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.6961, allocations: 9.312 kB / 0.9536 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.6961, allocations: 0 / 0.9536 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6961, allocations: 1.438 kB / 0.9536 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.6961, allocations: 0 / 0.9536 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.6962, allocations: 175.1 kB / 0.9538 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.6962, allocations: 1.438 kB / 0.9538 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.614e-05/0.6963, allocations: 10.8 kB / 0.9538 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.6963, allocations: 9.312 kB / 0.9538 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.6963, allocations: 4 kB / 0.9538 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.6963, allocations: 5.219 kB / 0.9538 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6964, allocations: 3.938 kB / 0.9538 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.6966, allocations: 179.4 kB / 0.954 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.6966, allocations: 86.5 kB / 0.9541 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.6966, allocations: 1.312 kB / 0.9541 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.6968, allocations: 8.188 kB / 0.9541 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.6968, allocations: 12.02 kB / 0.9541 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.6968, allocations: 5.578 kB / 0.9541 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.747e-05/0.6969, allocations: 89.42 kB / 0.9542 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6969, allocations: 0 / 0.9542 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000223/0.6971, allocations: 10.94 kB / 0.9542 GB, free: 5.27 MB / 0.7169 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.0004118/0.6975, allocations: 0.7131 MB / 0.9549 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.6978, allocations: 63.06 kB / 0.955 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.6978, allocations: 0 / 0.955 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.6979, allocations: 34.28 kB / 0.955 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.6982, allocations: 14.69 kB / 0.955 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.6994, allocations: 1.317 MB / 0.9563 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.16e-05/0.6995, allocations: 0.6887 MB / 0.957 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.275e-05/0.6996, allocations: 3.656 kB / 0.957 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.6996, allocations: 22.39 kB / 0.957 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.6996, allocations: 0 / 0.957 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.7172, allocations: 1.811 MB / 0.9587 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/8.411, allocations: 9.719 kB / 0.9588 GB, free: 1.555 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches