Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.00118/0.00118, allocations: 109 kB / 17.54 MB, free: 4.746 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.00119/0.00119, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.309/1.309, allocations: 225.6 MB / 249.3 MB, free: 3.168 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.52/2.52, allocations: 476.7 MB / 0.7628 GB, free: 15.13 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.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 71.89 kB / 1.107 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.7607, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001583/0.7623, allocations: 0.7117 MB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007109/0.763, allocations: 0.8456 MB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.763, allocations: 0.8125 kB / 1.273 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.7631, allocations: 5.203 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.209e-05/0.7631, allocations: 9.203 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.7632, allocations: 18.3 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.458e-05/0.7633, allocations: 49.86 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.771e-05/0.7634, allocations: 10.58 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.524e-05/0.7634, allocations: 21.72 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.7635, allocations: 28.7 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.7635, allocations: 4.031 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.7635, allocations: 8.688 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.7636, allocations: 8.109 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/0.7636, allocations: 22.33 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.192e-05/0.7637, allocations: 49 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.7637, allocations: 0.5625 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7637, allocations: 0 / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.7637, allocations: 0.9062 kB / 1.273 GB, free: 6.52 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.0004059/0.7641, allocations: 358.8 kB / 1.273 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.7641, allocations: 9.531 kB / 1.273 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.321e-05/0.7641, allocations: 33.73 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.7642, allocations: 11.27 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.15e-05/0.7643, allocations: 164.5 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.7643, allocations: 10.06 kB / 1.274 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.7643, allocations: 6.594 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.7645, allocations: 71.95 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.7645, allocations: 1 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.7645, allocations: 0.5625 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.7645, allocations: 0.8125 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.7647, allocations: 48.23 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.765, allocations: 298.4 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.7652, allocations: 64.62 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.911e-05/0.7653, allocations: 27.14 kB / 1.274 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.7653, allocations: 1.469 kB / 1.274 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.248e-05/0.7653, allocations: 43.19 kB / 1.274 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.7653, allocations: 0.9375 kB / 1.274 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003698/0.7657, allocations: 101.5 kB / 1.274 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.667e-05/0.7657, allocations: 56.38 kB / 1.274 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.518e-05/0.7658, allocations: 115.6 kB / 1.274 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.7658, allocations: 26.67 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.7658, allocations: 94.91 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.7658, allocations: 6.141 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.7659, allocations: 21.28 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.386e-05/0.7659, allocations: 316.2 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.987e-05/0.766, allocations: 22.92 kB / 1.275 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.833e-05/0.7661, allocations: 22.62 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.7663, allocations: 58.62 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.7663, allocations: 0 / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002102/0.7665, allocations: 88.67 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.7665, allocations: 5.281 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.7665, allocations: 3.984 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.7665, allocations: 0.75 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.7666, allocations: 11.83 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.7666, allocations: 0 / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/0.7667, allocations: 12.66 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.7667, allocations: 5.469 kB / 1.275 GB, free: 4.672 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,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 4.4e-05/0.7667, allocations: 115.2 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.7668, allocations: 2.125 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.7668, allocations: 8.844 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.7668, allocations: 1.156 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.7668, allocations: 4 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.7668, allocations: 0 / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.7669, allocations: 186.6 kB / 1.275 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.7669, allocations: 3.938 kB / 1.275 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-05/0.767, allocations: 13.3 kB / 1.275 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.767, allocations: 0 / 1.275 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.767, allocations: 0.9062 kB / 1.275 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.767, allocations: 5.719 kB / 1.275 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.767, allocations: 0 / 1.275 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.7672, allocations: 187.4 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.7673, allocations: 88.12 kB / 1.276 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.7673, allocations: 5 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.502e-05/0.7674, allocations: 7.422 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.7674, allocations: 11.92 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.7674, allocations: 1.594 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.596e-05/0.7674, allocations: 91.28 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7674, allocations: 0 / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002098/0.7676, allocations: 6.938 kB / 1.276 GB, free: 3.973 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 (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.0003832/0.768, allocations: 0.7147 MB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.7683, allocations: 57.05 kB / 1.277 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7683, allocations: 4 kB / 1.277 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.7684, allocations: 28.75 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.7686, allocations: 3.125 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.7699, allocations: 1.328 MB / 1.278 GB, free: 18.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.7702, allocations: 0.6851 MB / 1.279 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.818e-05/0.7702, allocations: 4.891 kB / 1.279 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.7703, allocations: 25.55 kB / 1.279 GB, free: 17.35 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.7703, allocations: 0 / 1.279 GB, free: 17.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.7947, allocations: 1.831 MB / 1.28 GB, free: 16.96 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/7.654, allocations: 4.75 kB / 1.28 GB, free: 16.96 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.t from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! Error: Could not read variable intLesThr.u in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.u from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! Error: Could not read variable intLesThr.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv. Warning: Get data of variable intLesThr.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.0390333739997]