Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 211.4 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.403/3.403, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 61.66 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3791, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002148/0.3813, allocations: 0.6941 MB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3825, allocations: 0.8627 MB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.912e-05/0.3825, allocations: 0 / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.3826, allocations: 3.938 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.3827, allocations: 3.938 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.3828, allocations: 23.97 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.3829, allocations: 51.84 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.383, allocations: 11.98 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.06e-05/0.3831, allocations: 15.94 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.042e-05/0.3832, allocations: 27.89 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.3832, allocations: 4 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.392e-05/0.3832, allocations: 4 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.3832, allocations: 7.984 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.3833, allocations: 19.88 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.3834, allocations: 52 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3834, allocations: 4 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3834, allocations: 0 / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.3834, allocations: 0 / 1.365 GB, free: 12.26 MB / 1.061 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.0005735/0.384, allocations: 282.3 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.384, allocations: 8.031 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.168e-05/0.3841, allocations: 30.75 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.3841, allocations: 8.891 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.3843, allocations: 114.5 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.3843, allocations: 4.312 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.3843, allocations: 12.11 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.3845, allocations: 73.64 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3845, allocations: 0 / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3846, allocations: 0 / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.3846, allocations: 3.938 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002142/0.3848, allocations: 51.95 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.3853, allocations: 251.9 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.3855, allocations: 58.55 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.3856, allocations: 40.84 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.3857, allocations: 0 / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.3857, allocations: 38.5 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.3857, allocations: 0 / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004289/0.3861, allocations: 101.6 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.3862, allocations: 51.41 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.931e-05/0.3863, allocations: 113.8 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.3863, allocations: 29.7 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.3864, allocations: 88.08 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.3864, allocations: 15.89 kB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.3864, allocations: 17.72 kB / 1.366 GB, free: 10.72 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3866, allocations: 322.7 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.3867, allocations: 19.98 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.541e-05/0.3868, allocations: 27.97 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.387, allocations: 52.81 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.387, allocations: 4 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002472/0.3872, allocations: 81.61 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3873, allocations: 7.984 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.3873, allocations: 0 / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3873, allocations: 0 / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.3874, allocations: 15.92 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3874, allocations: 4 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-05/0.3875, allocations: 7.984 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.3875, allocations: 7.938 kB / 1.367 GB, free: 10.16 MB / 1.061 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,intLesThr.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 9.802e-05/0.3876, allocations: 113.8 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.3876, allocations: 0 / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.3876, allocations: 12.33 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3877, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3877, allocations: 0 / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.3877, allocations: 3.984 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.3879, allocations: 152.6 kB / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3879, allocations: 0 / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.233e-05/0.388, allocations: 11.98 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.388, allocations: 7.938 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.388, allocations: 0 / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.388, allocations: 3.938 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.388, allocations: 320 / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.3883, allocations: 187.4 kB / 1.367 GB, free: 9.598 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.3883, allocations: 3.953 kB / 1.367 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.3883, allocations: 0 / 1.367 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3884, allocations: 11.98 kB / 1.367 GB, free: 9.582 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.3885, allocations: 11.98 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.3885, allocations: 4 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.073e-05/0.3886, allocations: 95.19 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3886, allocations: 0 / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000249/0.3888, allocations: 8 kB / 1.368 GB, free: 9.465 MB / 1.061 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 (intLesThr.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.0006711/0.3895, allocations: 0.7086 MB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.3897, allocations: 59.88 kB / 1.368 GB, free: 8.672 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3897, allocations: 0 / 1.368 GB, free: 8.672 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.3899, allocations: 35.97 kB / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.3902, allocations: 0 / 1.368 GB, free: 8.637 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.392, allocations: 1.331 MB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.969e-05/0.3921, allocations: 67.34 kB / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.588e-05/0.3921, allocations: 4 kB / 1.37 GB, free: 7.137 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.3922, allocations: 19.42 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/0.3922, allocations: 0 / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.4222, allocations: 2.423 MB / 1.372 GB, free: 4.844 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.67, allocations: 9.484 kB / 1.372 GB, free: 4.836 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intLesThr.t in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.t from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! Error: Could not read variable intLesThr.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! Error: Could not read variable intLesThr.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.840297039132565]