Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0017/0.0017, 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.002091/0.002091, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.992 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.258/3.258, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 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.LessEqualThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.002114/0.002114, allocations: 69.2 kB / 1.153 GB, free: 25.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3336, allocations: 176.1 MB / 1.325 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002282/0.3359, allocations: 0.699 MB / 1.326 GB, free: 1.672 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.3372, allocations: 0.8626 MB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.242e-05/0.3373, allocations: 0 / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.547e-05/0.3373, allocations: 3.938 kB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.854e-05/0.3374, allocations: 7.938 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.3376, allocations: 15.98 kB / 1.327 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.3377, allocations: 47.89 kB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3378, allocations: 11.98 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.032e-05/0.3379, allocations: 23.88 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.035e-05/0.3379, allocations: 27.91 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.3379, allocations: 4 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.338, allocations: 7.938 kB / 1.327 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.339e-05/0.338, allocations: 11.98 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.338, allocations: 11.92 kB / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.3381, allocations: 60 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3381, allocations: 0 / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3382, allocations: 0 / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.3382, allocations: 0 / 1.327 GB, free: 0.5664 MB / 1.014 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.0005469/0.3387, allocations: 278.2 kB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.274e-05/0.3388, allocations: 15.95 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.127e-05/0.3388, allocations: 38.75 kB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.3388, allocations: 4.938 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.339, allocations: 114.4 kB / 1.327 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.339, allocations: 4.375 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.339, allocations: 12.06 kB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.3393, allocations: 65.66 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3393, allocations: 0 / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3393, allocations: 0 / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3393, allocations: 4 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.3395, allocations: 51.94 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.34, allocations: 247.9 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.3402, allocations: 62.47 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.3403, allocations: 32.92 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.3403, allocations: 3.984 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.3404, allocations: 30.56 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3404, allocations: 4 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004467/0.3408, allocations: 113.5 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.3409, allocations: 51.41 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.341, allocations: 113.8 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.341, allocations: 25.7 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.3411, allocations: 84.14 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.3411, allocations: 15.84 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.3412, allocations: 21.7 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3413, allocations: 318.8 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.3414, allocations: 27.97 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.605e-05/0.3415, allocations: 23.98 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.3417, allocations: 53.08 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3417, allocations: 3.938 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002535/0.342, allocations: 93.58 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.342, allocations: 5.719 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.342, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.342, allocations: 0 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.3421, allocations: 11.98 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3421, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.914e-05/0.3422, allocations: 11.98 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3422, allocations: 3.938 kB / 1.329 GB, free: 14.46 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,intLesEquThr.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.245e-05/0.3423, allocations: 114.4 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.3423, allocations: 3.953 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.3423, allocations: 11.98 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3424, allocations: 4 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3424, allocations: 0 / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3424, allocations: 3.938 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.3426, allocations: 136.7 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3426, allocations: 4 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.693e-05/0.3427, allocations: 11.98 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3427, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3427, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3427, allocations: 3.984 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.3427, allocations: 7.938 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.343, allocations: 187.4 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.343, allocations: 8 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.343, allocations: 0 / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.806e-05/0.3431, allocations: 7.984 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.3432, allocations: 11.98 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.3432, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.433e-05/0.3432, allocations: 91.22 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3432, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002198/0.3434, allocations: 12 kB / 1.329 GB, free: 13.78 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 (intLesEquThr.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.0006598/0.3441, allocations: 0.7163 MB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.3444, allocations: 51.95 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3444, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.3445, allocations: 35.91 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.3448, allocations: 4 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.3465, allocations: 1.335 MB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.402e-05/0.3466, allocations: 67.3 kB / 1.331 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.778e-05/0.3466, allocations: 11.98 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.3467, allocations: 15.44 kB / 1.331 GB, free: 11.42 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.3467, allocations: 0 / 1.331 GB, free: 11.42 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.3758, allocations: 2.422 MB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.81, allocations: 8.453 kB / 1.334 GB, free: 9.137 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_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_LessEqualThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intLesEquThr.t in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.t from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.u in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.u from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! Error: Could not read variable intLesEquThr.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv. Warning: Get data of variable intLesEquThr.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.8076965152286]