Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001368/0.001368, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001498/0.001498, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9174/0.9174, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.971/1.971, allocations: 389.6 MB / 0.6343 GB, free: 12.55 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.818e-05, allocations: 10.08 kB / 1.001 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001413/0.001431, allocations: 0.8077 MB / 1.002 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008538/0.002285, allocations: 0.9024 MB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.054e-05/0.002375, allocations: 7.938 kB / 1.002 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.002509, allocations: 19.8 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.227e-05/0.002541, allocations: 11.88 kB / 1.002 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.002735, allocations: 35.89 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.002837, allocations: 71.78 kB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.002946, allocations: 15.98 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.003084, allocations: 55.83 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.003147, allocations: 19.91 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.003166, allocations: 8 kB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.058e-05/0.003206, allocations: 8 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.795e-05/0.003224, allocations: 15.92 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.003249, allocations: 19.92 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.00339, allocations: 83.73 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.003392, allocations: 0 / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.62e-07/0.003393, allocations: 0 / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.003396, allocations: 0 / 1.003 GB, free: 11.35 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004355/0.003832, allocations: 325.9 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.003874, allocations: 9.344 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.35e-05/0.003908, allocations: 34.75 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.004017, allocations: 16.88 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.004208, allocations: 153.6 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.004218, allocations: 4.375 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.004228, allocations: 384 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.00435, allocations: 70.17 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.004358, allocations: 192 / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.004368, allocations: 4.312 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.004374, allocations: 8.062 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.942e-05/0.004443, allocations: 35.97 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.004781, allocations: 279.8 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.004884, allocations: 42.55 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.004917, allocations: 16.92 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.004929, allocations: 0 / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.004948, allocations: 38.56 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.004949, allocations: 0 / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0001747/0.005124, allocations: 77.73 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.005148, allocations: 55.41 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.067e-05/0.005229, allocations: 140.5 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.00524, allocations: 25.7 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.005295, allocations: 96.09 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.00531, allocations: 15.94 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.005337, allocations: 13.72 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.444e-05/0.005412, allocations: 322.8 kB / 1.004 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-05/0.005444, allocations: 12 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.584e-05/0.00547, allocations: 15.98 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.366e-05/0.005524, allocations: 36.84 kB / 1.005 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.005525, allocations: 0 / 1.005 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.28e-05/0.005608, allocations: 69.56 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.005621, allocations: 8 kB / 1.005 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.005625, allocations: 0 / 1.005 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.005637, allocations: 0 / 1.005 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.997e-05/0.005687, allocations: 8 kB / 1.005 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.005691, allocations: 0 / 1.005 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.618e-05/0.005728, allocations: 11.92 kB / 1.005 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.005734, allocations: 8 kB / 1.005 GB, free: 9.238 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: 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 6.394e-05/0.005798, allocations: 120.4 kB / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.005815, allocations: 11.94 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.005838, allocations: 8.344 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.005839, allocations: 336 / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.005843, allocations: 0 / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.005845, allocations: 0 / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.005962, allocations: 148.7 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.005965, allocations: 3.984 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.005983, allocations: 11.92 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.005986, allocations: 4 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.005992, allocations: 7.875 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.005993, allocations: 0 / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.005994, allocations: 0 / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.006104, allocations: 159.4 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.006113, allocations: 7.953 kB / 1.005 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.006128, allocations: 4 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.975e-05/0.006178, allocations: 11.98 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.006233, allocations: 7.984 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.006236, allocations: 4 kB / 1.005 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.474e-05/0.006291, allocations: 107.2 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006291, allocations: 0 / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001544/0.006446, allocations: 4 kB / 1.005 GB, free: 8.555 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 (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.0003258/0.006771, allocations: 0.6967 MB / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.006879, allocations: 31.98 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006881, allocations: 0 / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.267e-05/0.006913, allocations: 19.92 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.007122, allocations: 8 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.008281, allocations: 1.379 MB / 1.007 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.858e-05/0.00833, allocations: 79.31 kB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.092e-05/0.008361, allocations: 8 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.008407, allocations: 20.48 kB / 1.007 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.008408, allocations: 0 / 1.007 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0887/0.0971, allocations: 2.714 MB / 1.01 GB, free: 3.625 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/7.65, allocations: 5.312 kB / 1.01 GB, free: 3.625 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../Buildings_13_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.442805868573487]