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.0007608/0.0007608, allocations: 104.3 kB / 19.72 MB, free: 424 kB / 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.0008142/0.0008142, allocations: 210.8 kB / 23.02 MB, free: 2.973 MB / 13.93 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.9682/0.9682, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.965/1.965, allocations: 0.5046 GB / 0.8104 GB, free: 2.777 MB / 0.6511 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 0.001534/0.001534, allocations: 67.89 kB / 1.177 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7765/0.778, allocations: 180 MB / 1.353 GB, free: 1.645 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001878/0.7799, allocations: 0.7848 MB / 1.353 GB, free: 0.8594 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.7809, allocations: 0.9094 MB / 1.354 GB, free: 15.94 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.781, allocations: 0 / 1.354 GB, free: 15.94 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.7812, allocations: 23.73 kB / 1.354 GB, free: 15.91 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 3.809e-05/0.7812, allocations: 11.88 kB / 1.354 GB, free: 15.9 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.7814, allocations: 27.97 kB / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.7815, allocations: 75.78 kB / 1.354 GB, free: 15.8 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.7816, allocations: 23.97 kB / 1.354 GB, free: 15.78 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.7818, allocations: 31.86 kB / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.906e-05/0.7818, allocations: 27.84 kB / 1.354 GB, free: 15.72 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.7818, allocations: 4 kB / 1.354 GB, free: 15.71 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.109e-05/0.7819, allocations: 12 kB / 1.354 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.7819, allocations: 19.86 kB / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.7819, allocations: 27.86 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.7821, allocations: 89.86 kB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7821, allocations: 0 / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7821, allocations: 0 / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.7821, allocations: 0 / 1.355 GB, free: 15.57 MB / 1.042 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.0004429/0.7825, allocations: 314 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.7826, allocations: 8.922 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.7826, allocations: 34.75 kB / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.7827, allocations: 24.88 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.783, allocations: 150.3 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.783, allocations: 8.312 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.783, allocations: 384 / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.7831, allocations: 70.16 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.7831, allocations: 3.938 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.7831, allocations: 4 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.7831, allocations: 0 / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.724e-05/0.7832, allocations: 27.98 kB / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/0.7836, allocations: 291.8 kB / 1.355 GB, free: 14.54 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.7837, allocations: 46.59 kB / 1.355 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.7837, allocations: 17 kB / 1.355 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.7838, allocations: 0 / 1.355 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.7838, allocations: 38.56 kB / 1.356 GB, free: 14.42 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.7838, allocations: 0 / 1.356 GB, free: 14.42 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0002037/0.784, allocations: 73.62 kB / 1.356 GB, free: 14.34 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.784, allocations: 51.41 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.7841, allocations: 136.2 kB / 1.356 GB, free: 14.14 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.7841, allocations: 25.7 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.7842, allocations: 100.1 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.7842, allocations: 11.89 kB / 1.356 GB, free: 13.99 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.7842, allocations: 17.7 kB / 1.356 GB, free: 13.97 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.972e-05/0.7843, allocations: 330.7 kB / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.289e-05/0.7844, allocations: 15.98 kB / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.129e-05/0.7844, allocations: 15.98 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.389e-05/0.7845, allocations: 36.84 kB / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7845, allocations: 0 / 1.356 GB, free: 13.57 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001027/0.7846, allocations: 57.69 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.7846, allocations: 8 kB / 1.356 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.7846, allocations: 3.984 kB / 1.356 GB, free: 13.49 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.7846, allocations: 0 / 1.356 GB, free: 13.49 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.324e-05/0.7847, allocations: 7.938 kB / 1.356 GB, free: 13.48 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.7847, allocations: 0 / 1.356 GB, free: 13.48 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.7847, allocations: 15.94 kB / 1.356 GB, free: 13.47 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.7847, allocations: 7.938 kB / 1.356 GB, free: 13.46 MB / 1.042 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.904e-05/0.7848, allocations: 114.4 kB / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.7848, allocations: 0 / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.7848, allocations: 16.33 kB / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7848, allocations: 0 / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7848, allocations: 0 / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.7848, allocations: 0 / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.785, allocations: 153 kB / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.785, allocations: 0 / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.785, allocations: 11.94 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.785, allocations: 0 / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.785, allocations: 8 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.785, allocations: 0 / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.785, allocations: 3.984 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.7852, allocations: 163.4 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.7852, allocations: 7.953 kB / 1.357 GB, free: 12.92 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.7852, allocations: 0 / 1.357 GB, free: 12.92 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.7853, allocations: 11.98 kB / 1.357 GB, free: 12.91 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.7853, allocations: 7.984 kB / 1.357 GB, free: 12.9 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.7853, allocations: 8 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.289e-05/0.7854, allocations: 101.5 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7854, allocations: 0 / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002248/0.7856, allocations: 15.95 kB / 1.357 GB, free: 12.78 MB / 1.042 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.0003504/0.7859, allocations: 0.6852 MB / 1.358 GB, free: 12.07 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.7861, allocations: 39.86 kB / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7861, allocations: 0 / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.7861, allocations: 19.98 kB / 1.358 GB, free: 12.01 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.7864, allocations: 11.98 kB / 1.358 GB, free: 12 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.7876, allocations: 1.389 MB / 1.359 GB, free: 10.53 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.134e-05/0.7876, allocations: 79.02 kB / 1.359 GB, free: 10.43 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.619e-05/0.7877, allocations: 8 kB / 1.359 GB, free: 10.43 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.637e-05/0.7877, allocations: 23.42 kB / 1.359 GB, free: 10.4 MB / 1.042 GB Notification: Performance of SimCode: time 5.91e-07/0.7877, allocations: 0 / 1.359 GB, free: 10.4 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09394/0.8817, allocations: 2.575 MB / 1.362 GB, free: 7.977 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.219/8.101, allocations: 12.53 kB / 1.362 GB, free: 7.969 MB / 1.042 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: 13.015295605175197]