Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001923/0.001923, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001528/0.001528, allocations: 217.2 kB / 22.25 MB, free: 5.078 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 8.02 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.201/3.201, allocations: 0.49 GB / 0.7951 GB, free: 33.37 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.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_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.00205/0.00205, allocations: 73.88 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3464, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002159/0.3485, allocations: 0.8361 MB / 1.327 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3498, allocations: 0.921 MB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.256e-05/0.3499, allocations: 0 / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.35, allocations: 15.86 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.559e-05/0.35, allocations: 7.875 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.3502, allocations: 43.83 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.3503, allocations: 71.78 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3505, allocations: 20.27 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.3506, allocations: 35.98 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.314e-05/0.3507, allocations: 39.77 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3507, allocations: 8 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.312e-05/0.3507, allocations: 8 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.3508, allocations: 4 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.3508, allocations: 31.8 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.351, allocations: 95.48 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.351, allocations: 4 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.362e-06/0.351, allocations: 0 / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.351, allocations: 0 / 1.328 GB, free: 15.77 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006194/0.3516, allocations: 310 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3517, allocations: 12.03 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.718e-05/0.3517, allocations: 30.75 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.3519, allocations: 24.83 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.3522, allocations: 148.3 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3522, allocations: 4.375 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.3522, allocations: 8.359 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.3524, allocations: 66.17 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3524, allocations: 3.938 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3524, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.3524, allocations: 4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.3525, allocations: 27.98 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005431/0.3531, allocations: 299.7 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.3532, allocations: 42.55 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.4e-05/0.3533, allocations: 24.94 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.3533, allocations: 4 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.3534, allocations: 30.66 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3534, allocations: 3.938 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002686/0.3536, allocations: 73.62 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.3537, allocations: 55.41 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.3538, allocations: 131.4 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3538, allocations: 25.7 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.3539, allocations: 104.1 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.3539, allocations: 7.953 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.354, allocations: 25.64 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3541, allocations: 318.8 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.554e-05/0.3542, allocations: 15.98 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.225e-05/0.3542, allocations: 12 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.379e-05/0.3543, allocations: 40.77 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3543, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001485/0.3545, allocations: 61.64 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3545, allocations: 8 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.3545, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3545, allocations: 0 / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.3546, allocations: 11.98 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3546, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.3547, allocations: 7.984 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.3547, allocations: 7.938 kB / 1.33 GB, free: 13.66 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: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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.779e-05/0.3548, allocations: 118.4 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.3548, allocations: 3.953 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.3548, allocations: 16.28 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3548, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3548, allocations: 3.984 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3548, allocations: 336 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.355, allocations: 160.6 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.355, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.871e-05/0.3551, allocations: 4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.3551, allocations: 4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3551, allocations: 3.984 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3551, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.3551, allocations: 4 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.3553, allocations: 159.4 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.3553, allocations: 15.88 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.3553, allocations: 0 / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3554, allocations: 15.98 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.3555, allocations: 7.984 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.3555, allocations: 7.938 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.571e-05/0.3556, allocations: 112.6 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3556, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002202/0.3558, allocations: 8 kB / 1.331 GB, free: 12.95 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005329/0.3563, allocations: 0.6929 MB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.3565, allocations: 35.92 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3565, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/0.3565, allocations: 19.98 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.3568, allocations: 9.547 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.3583, allocations: 1.372 MB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.3586, allocations: 0.6924 MB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.3586, allocations: 0 / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.3587, allocations: 31.36 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.3587, allocations: 0 / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.3875, allocations: 2.11 MB / 1.335 GB, free: 8.008 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.41, allocations: 8.281 kB / 1.335 GB, free: 8.004 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable les.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable les.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! Error: Could not read variable les.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable les.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! Error: Could not read variable lesHys.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable lesHys.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.222395327000413]