Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01128/0.01128, allocations: 221.3 kB / 15.17 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001121/0.001121, allocations: 179.1 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.976/3.976, allocations: 389.1 MB / 405.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.192/4.192, allocations: 472.3 MB / 0.9018 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004852, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.133, allocations: 98.73 MB / 1.104 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001387/0.1344, allocations: 1.249 MB / 1.105 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007206/0.1351, allocations: 485.3 kB / 1.106 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.1352, allocations: 0 / 1.106 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.503e-05/0.1353, allocations: 7.938 kB / 1.106 GB, free: 40.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.66e-05/0.1354, allocations: 15.86 kB / 1.106 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.1356, allocations: 35.83 kB / 1.106 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.1358, allocations: 92.62 kB / 1.106 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.493e-05/0.1359, allocations: 23.22 kB / 1.106 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.136, allocations: 43.78 kB / 1.106 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.317e-05/0.1361, allocations: 47.81 kB / 1.106 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.1361, allocations: 4 kB / 1.106 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.138e-05/0.1362, allocations: 4 kB / 1.106 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.384e-05/0.1362, allocations: 19.42 kB / 1.106 GB, free: 40 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.1363, allocations: 41.64 kB / 1.106 GB, free: 39.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.446e-05/0.1364, allocations: 64.14 kB / 1.106 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.244e-06/0.1364, allocations: 0 / 1.106 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.003e-06/0.1364, allocations: 4 kB / 1.106 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.303e-06/0.1364, allocations: 0 / 1.106 GB, free: 39.89 MB / 0.6042 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.0006671/0.1371, allocations: 477.3 kB / 1.107 GB, free: 39.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1371, allocations: 8.031 kB / 1.107 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.1372, allocations: 11.91 kB / 1.107 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.1374, allocations: 190.8 kB / 1.107 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1374, allocations: 4 kB / 1.107 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.1374, allocations: 10.81 kB / 1.107 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.1378, allocations: 145.5 kB / 1.107 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.1378, allocations: 2.531 kB / 1.107 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.1379, allocations: 0 / 1.107 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.1379, allocations: 0 / 1.107 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.1383, allocations: 130.5 kB / 1.107 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.139, allocations: 368 kB / 1.107 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.1394, allocations: 147.8 kB / 1.108 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.1397, allocations: 106.5 kB / 1.108 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.1397, allocations: 1.562 kB / 1.108 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/0.1401, allocations: 146.2 kB / 1.108 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 3.481e-06/0.1401, allocations: 96 / 1.108 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0009159/0.141, allocations: 339.9 kB / 1.108 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.1411, allocations: 92.11 kB / 1.108 GB, free: 37.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.1412, allocations: 141.8 kB / 1.108 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.1413, allocations: 29.7 kB / 1.108 GB, free: 37.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.1413, allocations: 108 kB / 1.108 GB, free: 37.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.1414, allocations: 27.56 kB / 1.108 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.1414, allocations: 0 / 1.108 GB, free: 37.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.536e-05/0.1415, allocations: 327.4 kB / 1.109 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.1417, allocations: 87.91 kB / 1.109 GB, free: 36.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.1421, allocations: 91.94 kB / 1.109 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.1424, allocations: 150.9 kB / 1.109 GB, free: 36.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.359e-06/0.1424, allocations: 3.938 kB / 1.109 GB, free: 36.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006771/0.1431, allocations: 296.7 kB / 1.109 GB, free: 36.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.716e-05/0.1431, allocations: 71.39 kB / 1.109 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.791e-06/0.1432, allocations: 0 / 1.109 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1432, allocations: 3.984 kB / 1.109 GB, free: 36.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.1434, allocations: 27.2 kB / 1.109 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.579e-06/0.1434, allocations: 0 / 1.109 GB, free: 36.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.1436, allocations: 43.8 kB / 1.11 GB, free: 36.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.1437, allocations: 5.094 kB / 1.11 GB, free: 36.14 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.1438, allocations: 162.6 kB / 1.11 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.1439, allocations: 11.91 kB / 1.11 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.1439, allocations: 16.7 kB / 1.11 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.1439, allocations: 4 kB / 1.11 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.144, allocations: 5.078 kB / 1.11 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.779e-06/0.144, allocations: 0 / 1.11 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.1441, allocations: 209.5 kB / 1.11 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.511e-06/0.1441, allocations: 0 / 1.11 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.1443, allocations: 23.3 kB / 1.11 GB, free: 35.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1443, allocations: 0 / 1.11 GB, free: 35.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.1443, allocations: 3.984 kB / 1.11 GB, free: 35.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1444, allocations: 4 kB / 1.11 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1444, allocations: 3.938 kB / 1.11 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006702/0.145, allocations: 312.6 kB / 1.11 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.1451, allocations: 88.95 kB / 1.11 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.1451, allocations: 4 kB / 1.11 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.1454, allocations: 33.39 kB / 1.11 GB, free: 35.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.1455, allocations: 19.97 kB / 1.11 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.1455, allocations: 8 kB / 1.11 GB, free: 35.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.233e-05/0.1456, allocations: 114.1 kB / 1.111 GB, free: 35.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.625e-06/0.1456, allocations: 3.938 kB / 1.111 GB, free: 35.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003056/0.1459, allocations: 31.88 kB / 1.111 GB, free: 35.01 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000115/0.1461, allocations: 101 kB / 1.111 GB, free: 34.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000722/0.1468, allocations: 349.7 kB / 1.111 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.162e-06/0.1468, allocations: 3.062 kB / 1.111 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003983/0.1472, allocations: 203.2 kB / 1.111 GB, free: 34.33 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.1475, allocations: 18.7 kB / 1.111 GB, free: 34.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006908/0.1483, allocations: 326.1 kB / 1.111 GB, free: 33.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.1484, allocations: 0.7004 MB / 1.112 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.071e-05/0.1485, allocations: 15.58 kB / 1.112 GB, free: 33.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.1486, allocations: 15.42 kB / 1.112 GB, free: 33.22 MB / 0.6042 GB Notification: Performance of SimCode: time 1.678e-06/0.1486, allocations: 0 / 1.112 GB, free: 33.22 MB / 0.6042 GB Notification: Performance of Templates: time 0.004687/0.1533, allocations: 1.497 MB / 1.114 GB, free: 31.8 MB / 0.6042 GB