Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.637/1.637, allocations: 297.4 MB / 312.6 MB, free: 2.965 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001176, allocations: 182 kB / 382.3 MB, free: 14.87 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.7 MB / 0.6617 GB, free: 7.234 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 92.12 kB / 0.7789 GB, free: 46.93 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004299, allocations: 15.98 kB / 0.9059 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8053/0.8058, allocations: 119.2 MB / 1.022 GB, free: 57.82 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002716/0.8086, allocations: 1.605 MB / 1.024 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.8104, allocations: 1.176 MB / 1.025 GB, free: 56.23 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.8106, allocations: 1.375 kB / 1.025 GB, free: 56.23 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004577/0.811, allocations: 99.7 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002528/0.8113, allocations: 88.56 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.8117, allocations: 126.3 kB / 1.025 GB, free: 56.1 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.812, allocations: 190.8 kB / 1.025 GB, free: 56.02 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.8121, allocations: 43.97 kB / 1.026 GB, free: 56 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.8123, allocations: 78.83 kB / 1.026 GB, free: 55.97 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.8124, allocations: 86.08 kB / 1.026 GB, free: 55.94 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.8125, allocations: 7.656 kB / 1.026 GB, free: 55.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.8126, allocations: 53.17 kB / 1.026 GB, free: 55.92 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.019e-05/0.8127, allocations: 47.34 kB / 1.026 GB, free: 55.9 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.391e-05/0.8128, allocations: 106.2 kB / 1.026 GB, free: 55.81 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.8132, allocations: 253.5 kB / 1.026 GB, free: 55.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.8132, allocations: 5.375 kB / 1.026 GB, free: 55.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8132, allocations: 0.75 kB / 1.026 GB, free: 55.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.8132, allocations: 0 / 1.026 GB, free: 55.73 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000775/0.814, allocations: 0.5014 MB / 1.027 GB, free: 55.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.814, allocations: 8.312 kB / 1.027 GB, free: 55.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.8141, allocations: 25.84 kB / 1.027 GB, free: 55.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.8145, allocations: 306.7 kB / 1.027 GB, free: 55.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.8145, allocations: 1.5 kB / 1.027 GB, free: 55.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.8145, allocations: 13.69 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.8147, allocations: 77.45 kB / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.8147, allocations: 0.5 kB / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.8148, allocations: 5.875 kB / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.8148, allocations: 0 / 1.027 GB, free: 54.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.8149, allocations: 44.11 kB / 1.027 GB, free: 54.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006245/0.8155, allocations: 432.7 kB / 1.027 GB, free: 54.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.8158, allocations: 76.77 kB / 1.028 GB, free: 54.56 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.628e-05/0.8159, allocations: 33.25 kB / 1.028 GB, free: 54.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.8159, allocations: 3.938 kB / 1.028 GB, free: 54.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.8161, allocations: 83.03 kB / 1.028 GB, free: 54.48 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.8161, allocations: 0 / 1.028 GB, free: 54.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003468/0.8165, allocations: 138.4 kB / 1.028 GB, free: 54.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.8165, allocations: 55.06 kB / 1.028 GB, free: 54.34 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004038/0.8169, allocations: 358.8 kB / 1.028 GB, free: 54.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.817, allocations: 31.92 kB / 1.028 GB, free: 54.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.817, allocations: 135.4 kB / 1.028 GB, free: 54.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.8171, allocations: 21.56 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.8171, allocations: 4 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.8172, allocations: 333.7 kB / 1.029 GB, free: 53.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.8173, allocations: 53.39 kB / 1.029 GB, free: 53.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.8174, allocations: 82.05 kB / 1.029 GB, free: 53.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.8176, allocations: 99.69 kB / 1.029 GB, free: 53.56 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8176, allocations: 1.094 kB / 1.029 GB, free: 53.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002969/0.8179, allocations: 188.3 kB / 1.029 GB, free: 53.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.8179, allocations: 5.703 kB / 1.029 GB, free: 53.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.8179, allocations: 0 / 1.029 GB, free: 53.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.8179, allocations: 6.125 kB / 1.029 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.8181, allocations: 22.64 kB / 1.029 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.8181, allocations: 5.75 kB / 1.029 GB, free: 53.47 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.8182, allocations: 22.97 kB / 1.029 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.8182, allocations: 5.5 kB / 1.029 GB, free: 53.46 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001262/0.8184, allocations: 159.8 kB / 1.029 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.8184, allocations: 22.19 kB / 1.029 GB, free: 53.31 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.8184, allocations: 24.62 kB / 1.029 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.8185, allocations: 5.188 kB / 1.029 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.8185, allocations: 1.531 kB / 1.029 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.8185, allocations: 0 / 1.029 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.8187, allocations: 240.4 kB / 1.03 GB, free: 53.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8187, allocations: 4 kB / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/0.8187, allocations: 2.688 kB / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8187, allocations: 0 / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.8187, allocations: 9.25 kB / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.8187, allocations: 3.938 kB / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8187, allocations: 0 / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.8189, allocations: 146.1 kB / 1.03 GB, free: 52.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.819, allocations: 107.2 kB / 1.03 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.819, allocations: 1.359 kB / 1.03 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.8191, allocations: 15.05 kB / 1.03 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.8192, allocations: 16.64 kB / 1.03 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.8192, allocations: 0 / 1.03 GB, free: 52.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002053/0.8194, allocations: 226.3 kB / 1.03 GB, free: 52.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8194, allocations: 1 kB / 1.03 GB, free: 52.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002353/0.8197, allocations: 37.47 kB / 1.03 GB, free: 52.72 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,lesHys.lesHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00109/0.8208, allocations: 481.3 kB / 1.031 GB, free: 52.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002502/0.821, allocations: 111.2 kB / 1.031 GB, free: 52.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.821, allocations: 0 / 1.031 GB, free: 52.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8e-05/0.8211, allocations: 29.73 kB / 1.031 GB, free: 52.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.8215, allocations: 54.73 kB / 1.031 GB, free: 52.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006304/0.8221, allocations: 421.5 kB / 1.031 GB, free: 52.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.8223, allocations: 0.7484 MB / 1.032 GB, free: 51.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.822e-05/0.8224, allocations: 31.55 kB / 1.032 GB, free: 51.45 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.8225, allocations: 19.91 kB / 1.032 GB, free: 51.44 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.8225, allocations: 3.938 kB / 1.032 GB, free: 51.43 MB / 0.698 GB Notification: Performance of Templates: time 0.006228/0.8287, allocations: 2.605 MB / 1.035 GB, free: 51.23 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)