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.0007808/0.0007808, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009059/0.0009059, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.87/0.87, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.757/1.757, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.926e-06/2.926e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.464e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001403/0.001428, allocations: 0.6863 MB / 1 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000813/0.002241, allocations: 0.851 MB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.075e-05/0.002282, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.002311, allocations: 3.938 kB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.461e-05/0.002385, allocations: 15.86 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.002536, allocations: 23.91 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.84e-05/0.002614, allocations: 51.84 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.002716, allocations: 4 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.981e-05/0.002796, allocations: 35.89 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.08e-05/0.002847, allocations: 19.92 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.002871, allocations: 8 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.00288, allocations: 4 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.002898, allocations: 7.984 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.00292, allocations: 15.92 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.673e-05/0.003017, allocations: 55.78 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003019, allocations: 0 / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.453e-06/0.00302, allocations: 4 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.003025, allocations: 0 / 1.001 GB, free: 11.68 MB / 0.9636 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.000398/0.003423, allocations: 274.3 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.003466, allocations: 12.75 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.003498, allocations: 38.73 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.003523, allocations: 8.891 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.273e-05/0.003616, allocations: 109.8 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.003629, allocations: 384 / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.00364, allocations: 4.375 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.003806, allocations: 77.91 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.003813, allocations: 0 / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.003821, allocations: 0 / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.003825, allocations: 0 / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.003941, allocations: 55.94 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.004286, allocations: 248.7 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.004428, allocations: 74.48 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.004486, allocations: 28.89 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.004502, allocations: 0 / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.004523, allocations: 38.55 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.004524, allocations: 0 / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002577/0.004781, allocations: 109.6 kB / 1.002 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.004811, allocations: 55.41 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.659e-05/0.004877, allocations: 121.8 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.004888, allocations: 25.7 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/0.004927, allocations: 84.14 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.004943, allocations: 11.91 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.004974, allocations: 21.7 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.00505, allocations: 314.8 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.765e-05/0.005107, allocations: 27.97 kB / 1.003 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.981e-05/0.005157, allocations: 23.98 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.005258, allocations: 56.75 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.00526, allocations: 0 / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001358/0.005396, allocations: 85.58 kB / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.00541, allocations: 4 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.005415, allocations: 7.938 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.005427, allocations: 0 / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.241e-05/0.005509, allocations: 11.98 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.005516, allocations: 4 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.769e-05/0.005554, allocations: 11.98 kB / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.00556, allocations: 0 / 1.003 GB, free: 9.578 MB / 0.9636 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 6.653e-05/0.005626, allocations: 113.8 kB / 1.003 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.005642, allocations: 3.953 kB / 1.003 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.005669, allocations: 15.98 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.005671, allocations: 4 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.005677, allocations: 0 / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.00568, allocations: 0 / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.005795, allocations: 144.6 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.005796, allocations: 0 / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.005838, allocations: 11.98 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.00584, allocations: 0 / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.005849, allocations: 3.984 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.00585, allocations: 0 / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.005851, allocations: 0 / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.006022, allocations: 191.7 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.07e-05/0.006033, allocations: 3.953 kB / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.006044, allocations: 0 / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.379e-05/0.006098, allocations: 11.98 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.006151, allocations: 12.02 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.006155, allocations: 4 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.125e-05/0.006187, allocations: 83.28 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006187, allocations: 0 / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001463/0.006333, allocations: 8 kB / 1.004 GB, free: 8.902 MB / 0.9636 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.0003746/0.006708, allocations: 0.7241 MB / 1.005 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.006863, allocations: 47.95 kB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.006865, allocations: 0 / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.988e-05/0.006925, allocations: 31.97 kB / 1.005 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.007173, allocations: 10.17 kB / 1.005 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.00822, allocations: 1.34 MB / 1.006 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.691e-05/0.008267, allocations: 67.33 kB / 1.006 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.663e-05/0.008304, allocations: 8 kB / 1.006 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.008355, allocations: 20.5 kB / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.008356, allocations: 0 / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.02634, allocations: 2.555 MB / 1.009 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.72/6.746, allocations: 2.438 kB / 1.009 GB, free: 4.117 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.884681778028607]