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.001156/0.001156, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.00139/0.00139, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.293/1.293, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] 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.501/2.501, allocations: 476.7 MB / 0.7628 GB, free: 15.09 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.001982/0.001982, allocations: 71.89 kB / 1.107 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8253/0.8273, allocations: 168.7 MB / 1.271 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001682/0.829, allocations: 0.724 MB / 1.272 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007859/0.8298, allocations: 0.8361 MB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.8298, allocations: 0.9062 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.8298, allocations: 4.453 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.838e-05/0.8299, allocations: 5.812 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001332/0.83, allocations: 29.23 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.8301, allocations: 44.03 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.909e-05/0.8302, allocations: 15.48 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.045e-05/0.8303, allocations: 21.64 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/0.8303, allocations: 21.25 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.8304, allocations: 8.25 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.8304, allocations: 3.938 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.8304, allocations: 8.188 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.8304, allocations: 25.88 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.8305, allocations: 45.12 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8305, allocations: 8 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8305, allocations: 0.75 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.8305, allocations: 0 / 1.273 GB, free: 6.488 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.0004343/0.831, allocations: 356 kB / 1.273 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.831, allocations: 10.27 kB / 1.273 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.567e-05/0.831, allocations: 36.69 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.8311, allocations: 7.297 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.816e-05/0.8312, allocations: 168.2 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.8312, allocations: 1.875 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.8312, allocations: 10.94 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.8314, allocations: 72.17 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.8314, allocations: 0.7188 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.8314, allocations: 4.781 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.8314, allocations: 1.516 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.8316, allocations: 51.61 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.832, allocations: 297.8 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.8322, allocations: 64.33 kB / 1.274 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.786e-05/0.8322, allocations: 29.06 kB / 1.274 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.8323, allocations: 0.7188 kB / 1.274 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.8323, allocations: 31.81 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.8323, allocations: 7.938 kB / 1.274 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003798/0.8327, allocations: 105.4 kB / 1.274 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.8327, allocations: 52.19 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.771e-05/0.8327, allocations: 111 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.8327, allocations: 26.92 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.8328, allocations: 91.42 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.8328, allocations: 11.75 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.8328, allocations: 18.47 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.144e-05/0.8329, allocations: 323.1 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.792e-05/0.833, allocations: 22.42 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.711e-05/0.833, allocations: 20.89 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.8332, allocations: 55.64 kB / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.8332, allocations: 0 / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002174/0.8334, allocations: 86.3 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.8335, allocations: 5.406 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.8335, allocations: 2.062 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.8335, allocations: 48 / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.8336, allocations: 20.47 kB / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.8336, allocations: 0.6875 kB / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.8337, allocations: 11.48 kB / 1.275 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.8337, allocations: 10.7 kB / 1.275 GB, free: 4.637 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 6.219e-05/0.8337, allocations: 112.5 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.8338, allocations: 2.062 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.8338, allocations: 6.484 kB / 1.275 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8338, allocations: 0.8438 kB / 1.275 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.8338, allocations: 0 / 1.275 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.8338, allocations: 2.578 kB / 1.275 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.8339, allocations: 185.3 kB / 1.275 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8339, allocations: 5.062 kB / 1.275 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.325e-05/0.834, allocations: 10.97 kB / 1.275 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.834, allocations: 0 / 1.275 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.834, allocations: 2.031 kB / 1.275 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.834, allocations: 0.7812 kB / 1.275 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.834, allocations: 3.938 kB / 1.275 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.8343, allocations: 185.4 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.8343, allocations: 90.06 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.8343, allocations: 5.125 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.8344, allocations: 8.719 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.8344, allocations: 11.28 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.8344, allocations: 1.641 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.788e-05/0.8345, allocations: 91.48 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8345, allocations: 0 / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002092/0.8347, allocations: 6.594 kB / 1.276 GB, free: 3.945 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.0004136/0.8351, allocations: 0.7187 MB / 1.277 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.8353, allocations: 52.66 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8353, allocations: 4 kB / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.8355, allocations: 29.44 kB / 1.277 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.8357, allocations: 7.656 kB / 1.277 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.837, allocations: 1.321 MB / 1.278 GB, free: 18.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.8373, allocations: 0.6868 MB / 1.279 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.274e-05/0.8373, allocations: 7.594 kB / 1.279 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.8374, allocations: 17.38 kB / 1.279 GB, free: 17.32 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.8374, allocations: 0 / 1.279 GB, free: 17.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.8627, allocations: 1.837 MB / 1.28 GB, free: 16.94 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.985/7.848, allocations: 1.547 kB / 1.28 GB, free: 16.94 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intGreThr.t in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.t from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable intGreThr.u in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.u from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! Error: Could not read variable intGreThr.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv. Warning: Get data of variable intGreThr.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.267404193000402]