Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001805/0.001805, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002187/0.002187, allocations: 220.9 kB / 22.25 MB, free: 5.254 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.422/3.422, allocations: 0.49 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_12_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.002007/0.002007, allocations: 66.41 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3323, allocations: 176.1 MB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002087/0.3344, allocations: 0.6972 MB / 1.327 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3358, allocations: 0.8627 MB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.536e-05/0.3358, allocations: 0 / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.184e-05/0.3359, allocations: 3.938 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.801e-05/0.336, allocations: 7.922 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.3361, allocations: 19.98 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.3362, allocations: 43.91 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3363, allocations: 12 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.784e-05/0.3364, allocations: 27.91 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.3365, allocations: 27.86 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.3365, allocations: 4 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.3365, allocations: 4 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.3366, allocations: 11.92 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.3366, allocations: 19.91 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.3367, allocations: 44.09 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3367, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3367, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3367, allocations: 4 kB / 1.328 GB, free: 15.69 MB / 1.029 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.000558/0.3373, allocations: 282.2 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.3373, allocations: 8.031 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.36e-05/0.3374, allocations: 38.73 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.3374, allocations: 4.938 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.3376, allocations: 114.4 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.3376, allocations: 384 / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.3376, allocations: 12.12 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.3378, allocations: 69.58 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.3378, allocations: 11.94 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3378, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3378, allocations: 0 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002137/0.3381, allocations: 51.94 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.3385, allocations: 243.9 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.3388, allocations: 66.47 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.3389, allocations: 28.92 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.3389, allocations: 4 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.3389, allocations: 34.55 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3389, allocations: 3.938 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004128/0.3393, allocations: 113.7 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.3394, allocations: 51.41 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.804e-05/0.3395, allocations: 113.8 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.3395, allocations: 25.7 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.3396, allocations: 84.14 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.3396, allocations: 19.84 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.3396, allocations: 21.7 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3398, allocations: 318.8 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.3399, allocations: 27.97 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.381e-05/0.34, allocations: 27.97 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.3401, allocations: 48.81 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3401, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002477/0.3404, allocations: 93.58 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3404, allocations: 4 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3404, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3404, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3405, allocations: 11.98 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3406, allocations: 4 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.3406, allocations: 7.984 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.3406, allocations: 3.938 kB / 1.329 GB, free: 13.58 MB / 1.029 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.546e-05/0.3407, allocations: 118.4 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.3408, allocations: 3.953 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.3408, allocations: 11.98 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3408, allocations: 3.938 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3408, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3408, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.341, allocations: 144.8 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.341, allocations: 0 / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.579e-05/0.3411, allocations: 11.98 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3411, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.3411, allocations: 11.98 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3411, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3411, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.3414, allocations: 191.3 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-06/0.3414, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.3414, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3415, allocations: 11.98 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.3416, allocations: 7.984 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3416, allocations: 4 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.414e-05/0.3417, allocations: 91.22 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3417, allocations: 0 / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002284/0.3419, allocations: 11.94 kB / 1.33 GB, free: 12.89 MB / 1.029 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.0006859/0.3426, allocations: 0.7165 MB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.3429, allocations: 55.94 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3429, allocations: 0 / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.343, allocations: 39.91 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.3433, allocations: 5.562 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.3451, allocations: 1.327 MB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.558e-05/0.3452, allocations: 71.28 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.577e-05/0.3452, allocations: 7.984 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.945e-05/0.3453, allocations: 15.44 kB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.3453, allocations: 0 / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02885/0.3741, allocations: 2.437 MB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.43, allocations: 6.031 kB / 1.335 GB, free: 8.23 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.t from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! Error: Could not read variable intLesThr.u in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.u from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! Error: Could not read variable intLesThr.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.5096653260116]