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.Less.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.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") 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.694/1.694, allocations: 297.4 MB / 312.6 MB, free: 2.922 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.0009743/0.0009745, allocations: 186 kB / 382.3 MB, free: 14.82 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.477/1.477, allocations: 225.7 MB / 0.6617 GB, free: 7.219 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.0008089/0.0008086, allocations: 88.12 kB / 0.7789 GB, free: 46.86 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003781, allocations: 12 kB / 0.9059 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6854/0.6858, allocations: 119.2 MB / 1.022 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.003029/0.6889, allocations: 1.608 MB / 1.024 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00205/0.691, allocations: 1.185 MB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.6912, allocations: 2.75 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004655/0.6916, allocations: 112 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.6919, allocations: 83 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003895/0.6923, allocations: 136.5 kB / 1.025 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002861/0.6926, allocations: 202.6 kB / 1.026 GB, free: 56.16 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.6928, allocations: 57.52 kB / 1.026 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.6929, allocations: 72.17 kB / 1.026 GB, free: 56.11 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.6931, allocations: 82.34 kB / 1.026 GB, free: 56.08 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.6931, allocations: 4.656 kB / 1.026 GB, free: 56.08 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.6933, allocations: 52.88 kB / 1.026 GB, free: 56.06 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.445e-05/0.6934, allocations: 56.48 kB / 1.026 GB, free: 56.04 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.6935, allocations: 96.72 kB / 1.026 GB, free: 55.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004786/0.694, allocations: 267.8 kB / 1.026 GB, free: 55.87 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.694, allocations: 1.25 kB / 1.026 GB, free: 55.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.905e-06/0.694, allocations: 0.7969 kB / 1.026 GB, free: 55.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.694, allocations: 0 / 1.026 GB, free: 55.87 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008539/0.6949, allocations: 0.504 MB / 1.027 GB, free: 55.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.6949, allocations: 9.219 kB / 1.027 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.695, allocations: 24.3 kB / 1.027 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.6954, allocations: 308.5 kB / 1.027 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.6955, allocations: 11.69 kB / 1.027 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.6955, allocations: 9.375 kB / 1.027 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.6957, allocations: 98.22 kB / 1.027 GB, free: 55.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.6957, allocations: 2.375 kB / 1.027 GB, free: 55.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.6958, allocations: 4.516 kB / 1.027 GB, free: 55.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.6958, allocations: 2.719 kB / 1.027 GB, free: 55.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.6959, allocations: 51.14 kB / 1.027 GB, free: 55.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.6966, allocations: 461.2 kB / 1.028 GB, free: 54.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.6969, allocations: 79.16 kB / 1.028 GB, free: 54.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.211e-05/0.6969, allocations: 29.59 kB / 1.028 GB, free: 54.66 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.697, allocations: 0.8125 kB / 1.028 GB, free: 54.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.6972, allocations: 87.05 kB / 1.028 GB, free: 54.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.6972, allocations: 0 / 1.028 GB, free: 54.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003748/0.6976, allocations: 127.4 kB / 1.028 GB, free: 54.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.6976, allocations: 52.47 kB / 1.028 GB, free: 54.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.6981, allocations: 367.4 kB / 1.028 GB, free: 54.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.6982, allocations: 32.73 kB / 1.028 GB, free: 54.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.6983, allocations: 139.4 kB / 1.028 GB, free: 54.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.6983, allocations: 25.08 kB / 1.029 GB, free: 54.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-06/0.6983, allocations: 4 kB / 1.029 GB, free: 54.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.6984, allocations: 335.5 kB / 1.029 GB, free: 53.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.6985, allocations: 57.73 kB / 1.029 GB, free: 53.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.6987, allocations: 74.92 kB / 1.029 GB, free: 53.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.6989, allocations: 95.52 kB / 1.029 GB, free: 53.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6989, allocations: 0 / 1.029 GB, free: 53.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000304/0.6992, allocations: 194.6 kB / 1.029 GB, free: 53.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.6992, allocations: 5.172 kB / 1.029 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.6992, allocations: 0.625 kB / 1.029 GB, free: 53.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.6993, allocations: 7.062 kB / 1.029 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.6994, allocations: 21.25 kB / 1.029 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.6994, allocations: 4.828 kB / 1.029 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.6995, allocations: 21.09 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.679e-05/0.6996, allocations: 4.953 kB / 1.029 GB, free: 53.57 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.0001534/0.6997, allocations: 153.9 kB / 1.029 GB, free: 53.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.6998, allocations: 28.69 kB / 1.029 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.041e-05/0.6998, allocations: 26.39 kB / 1.03 GB, free: 53.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6998, allocations: 3.469 kB / 1.03 GB, free: 53.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6999, allocations: 2.688 kB / 1.03 GB, free: 53.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6999, allocations: 5.766 kB / 1.03 GB, free: 53.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.7001, allocations: 239.8 kB / 1.03 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7001, allocations: 1.469 kB / 1.03 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/0.7001, allocations: 9.078 kB / 1.03 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7001, allocations: 0 / 1.03 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.7001, allocations: 7.719 kB / 1.03 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.7001, allocations: 0.6875 kB / 1.03 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7002, allocations: 0 / 1.03 GB, free: 53.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.7004, allocations: 141 kB / 1.03 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.7005, allocations: 112.8 kB / 1.03 GB, free: 52.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.7005, allocations: 4.25 kB / 1.03 GB, free: 52.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.7006, allocations: 17.06 kB / 1.03 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.7006, allocations: 8.219 kB / 1.03 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.7007, allocations: 1.656 kB / 1.03 GB, free: 52.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002484/0.7009, allocations: 235.7 kB / 1.03 GB, free: 52.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7009, allocations: 0 / 1.03 GB, free: 52.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000261/0.7012, allocations: 37.81 kB / 1.03 GB, free: 52.82 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.001132/0.7023, allocations: 477.5 kB / 1.031 GB, free: 52.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.7026, allocations: 109.5 kB / 1.031 GB, free: 52.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7026, allocations: 0 / 1.031 GB, free: 52.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.74e-05/0.7027, allocations: 35.66 kB / 1.031 GB, free: 52.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.7031, allocations: 48.62 kB / 1.031 GB, free: 52.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006994/0.7038, allocations: 431 kB / 1.031 GB, free: 52.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.7041, allocations: 0.7523 MB / 1.032 GB, free: 51.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.469e-05/0.7042, allocations: 29.62 kB / 1.032 GB, free: 51.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.7042, allocations: 19.22 kB / 1.032 GB, free: 51.55 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.7042, allocations: 0.5312 kB / 1.032 GB, free: 51.55 MB / 0.698 GB Notification: Performance of Templates: time 0.006745/0.711, allocations: 2.62 MB / 1.035 GB, free: 51.34 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)