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.001784/0.001784, 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.002168/0.002168, allocations: 209.9 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.785 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.363/3.363, allocations: 0.4892 GB / 0.7944 GB, free: 35.61 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.002199/0.002199, allocations: 67.16 kB / 1.153 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3421, allocations: 176.1 MB / 1.325 GB, free: 2.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002147/0.3443, allocations: 0.795 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.3455, allocations: 0.9172 MB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.096e-05/0.3456, allocations: 3.938 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.3457, allocations: 11.88 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.851e-05/0.3457, allocations: 7.875 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.3459, allocations: 31.91 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.3461, allocations: 75.77 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.3462, allocations: 20.27 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.3463, allocations: 35.84 kB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.349e-05/0.3464, allocations: 27.86 kB / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3464, allocations: 12 kB / 1.327 GB, free: 372 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.115e-05/0.3465, allocations: 11.94 kB / 1.327 GB, free: 360 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.3465, allocations: 15.97 kB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.3465, allocations: 15.88 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.3467, allocations: 91.55 kB / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3467, allocations: 0 / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3467, allocations: 0 / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.3467, allocations: 0 / 1.327 GB, free: 236 kB / 1.014 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.0005373/0.3472, allocations: 314 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3473, allocations: 12.03 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.3473, allocations: 34.75 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.3475, allocations: 20.83 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.3477, allocations: 148.1 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3477, allocations: 4.375 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.3478, allocations: 384 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.3479, allocations: 62.23 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3479, allocations: 7.938 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3479, allocations: 4 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3479, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.3481, allocations: 39.91 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.3486, allocations: 279.8 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.3487, allocations: 50.58 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.766e-05/0.3488, allocations: 16.92 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.3488, allocations: 7.984 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.3488, allocations: 38.5 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3488, allocations: 0 / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002636/0.3491, allocations: 77.64 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.3491, allocations: 55.34 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.3493, allocations: 136 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.3493, allocations: 25.7 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.3494, allocations: 96.09 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.3494, allocations: 11.94 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.3494, allocations: 21.72 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002335/0.3496, allocations: 322.8 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.3497, allocations: 12 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.026e-05/0.3498, allocations: 15.98 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.469e-05/0.3499, allocations: 36.84 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3499, allocations: 0 / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001463/0.35, allocations: 69.56 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.35, allocations: 8 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.35, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.35, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.071e-05/0.3501, allocations: 8 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3501, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.3502, allocations: 7.984 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.3502, allocations: 11.92 kB / 1.329 GB, free: 14.12 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 0.0001432/0.3503, allocations: 114.4 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.3504, allocations: 7.938 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.255e-05/0.3504, allocations: 12.34 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.3504, allocations: 0 / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3504, allocations: 0 / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3504, allocations: 4 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003417/0.3508, allocations: 152.7 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3508, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.3508, allocations: 4 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3508, allocations: 3.984 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3508, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3508, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3508, allocations: 0 / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.351, allocations: 163.4 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.351, allocations: 19.83 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.351, allocations: 4 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.3511, allocations: 11.98 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.3512, allocations: 12.36 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3512, allocations: 0 / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.662e-05/0.3513, allocations: 107.2 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3513, allocations: 4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002248/0.3515, allocations: 4 kB / 1.33 GB, free: 13.43 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.0006487/0.3522, allocations: 0.6967 MB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.3524, allocations: 35.98 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3524, allocations: 0 / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.852e-05/0.3524, allocations: 15.98 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.3527, allocations: 13.72 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.3543, allocations: 1.378 MB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.266e-05/0.3544, allocations: 83.27 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.618e-05/0.3544, allocations: 3.984 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.3545, allocations: 23.44 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3545, allocations: 0 / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.3847, allocations: 2.579 MB / 1.334 GB, free: 8.621 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.9, allocations: 7.406 kB / 1.334 GB, free: 8.617 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.895581766963005]