Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7764/0.7764, allocations: 143.8 MB / 159.1 MB, free: 6.508 MB / 122.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.0009042/0.0009043, allocations: 175.3 kB / 192 MB, free: 6.734 MB / 154.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.32/1.32, allocations: 225.7 MB / 450.4 MB, free: 4.969 MB / 330.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.0007983/0.0007984, allocations: 102.5 kB / 0.5211 GB, free: 1.633 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001632/0.001632, allocations: 272.7 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003963, allocations: 12.47 kB / 0.6948 GB, free: 59.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.125, allocations: 82.45 MB / 0.7753 GB, free: 14.37 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.001548/0.1266, allocations: 1.259 MB / 0.7765 GB, free: 13.1 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009393/0.1275, allocations: 0.7043 MB / 0.7772 GB, free: 12.35 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.1276, allocations: 0 / 0.7772 GB, free: 12.35 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 8.624e-05/0.1277, allocations: 3.938 kB / 0.7772 GB, free: 12.35 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.648e-05/0.1278, allocations: 23.84 kB / 0.7772 GB, free: 12.32 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.1281, allocations: 75.8 kB / 0.7773 GB, free: 12.25 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.1282, allocations: 91.64 kB / 0.7774 GB, free: 12.16 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.1283, allocations: 20.22 kB / 0.7774 GB, free: 12.14 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.1284, allocations: 47.77 kB / 0.7775 GB, free: 12.09 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.304e-05/0.1285, allocations: 35.84 kB / 0.7775 GB, free: 12.05 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.1285, allocations: 4 kB / 0.7775 GB, free: 12.05 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.793e-05/0.1286, allocations: 47.95 kB / 0.7775 GB, free: 12 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.1287, allocations: 15.92 kB / 0.7776 GB, free: 11.99 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.1287, allocations: 61.48 kB / 0.7776 GB, free: 11.92 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.1289, allocations: 143.8 kB / 0.7778 GB, free: 11.78 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1289, allocations: 0 / 0.7778 GB, free: 11.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1289, allocations: 0 / 0.7778 GB, free: 11.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.129, allocations: 4 kB / 0.7778 GB, free: 11.78 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006559/0.1296, allocations: 440.8 kB / 0.7782 GB, free: 11.29 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.1297, allocations: 8.031 kB / 0.7782 GB, free: 11.29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.1297, allocations: 8.844 kB / 0.7782 GB, free: 11.28 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.1299, allocations: 198 kB / 0.7784 GB, free: 11.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1299, allocations: 8.375 kB / 0.7784 GB, free: 11.04 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.1299, allocations: 12.3 kB / 0.7784 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.1302, allocations: 121.9 kB / 0.7785 GB, free: 10.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1302, allocations: 0 / 0.7785 GB, free: 10.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1302, allocations: 0 / 0.7785 GB, free: 10.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.1303, allocations: 4 kB / 0.7785 GB, free: 10.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003247/0.1306, allocations: 103.9 kB / 0.7786 GB, free: 10.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005967/0.1312, allocations: 356.7 kB / 0.779 GB, free: 10.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.1315, allocations: 106.5 kB / 0.7791 GB, free: 10.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.1317, allocations: 68.88 kB / 0.7791 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.1317, allocations: 0 / 0.7791 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003046/0.132, allocations: 131.2 kB / 0.7793 GB, free: 10.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.132, allocations: 0 / 0.7793 GB, free: 10.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006119/0.1326, allocations: 241.4 kB / 0.7795 GB, free: 9.832 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.1327, allocations: 51.41 kB / 0.7795 GB, free: 9.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.1328, allocations: 137.8 kB / 0.7797 GB, free: 9.625 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1328, allocations: 29.7 kB / 0.7797 GB, free: 9.59 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.1329, allocations: 108 kB / 0.7798 GB, free: 9.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.1329, allocations: 31.58 kB / 0.7798 GB, free: 9.449 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/0.1329, allocations: 4 kB / 0.7798 GB, free: 9.445 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.133, allocations: 326.8 kB / 0.7801 GB, free: 9.117 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.1332, allocations: 59.95 kB / 0.7802 GB, free: 9.059 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.1334, allocations: 67.95 kB / 0.7803 GB, free: 8.992 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.1338, allocations: 170.5 kB / 0.7804 GB, free: 8.816 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1338, allocations: 112 / 0.7804 GB, free: 8.816 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004405/0.1342, allocations: 219.1 kB / 0.7806 GB, free: 8.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.1343, allocations: 33.7 kB / 0.7807 GB, free: 8.551 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.1343, allocations: 8.062 kB / 0.7807 GB, free: 8.543 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.1343, allocations: 0 / 0.7807 GB, free: 8.543 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.1345, allocations: 23.98 kB / 0.7807 GB, free: 8.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/0.1345, allocations: 11.97 kB / 0.7807 GB, free: 8.508 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.1346, allocations: 23.89 kB / 0.7807 GB, free: 8.484 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.1346, allocations: 4 kB / 0.7807 GB, free: 8.48 MB / 458.7 MB 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: 1 * Algorithm blocks: 1 * 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 8.272e-05/0.1347, allocations: 117.8 kB / 0.7808 GB, free: 8.355 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.1348, allocations: 11.89 kB / 0.7809 GB, free: 8.344 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.1348, allocations: 12.72 kB / 0.7809 GB, free: 8.332 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.1348, allocations: 8 kB / 0.7809 GB, free: 8.324 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1348, allocations: 0 / 0.7809 GB, free: 8.324 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1348, allocations: 0 / 0.7809 GB, free: 8.324 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.135, allocations: 205.5 kB / 0.7811 GB, free: 8.074 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.135, allocations: 0 / 0.7811 GB, free: 8.074 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.1351, allocations: 23.92 kB / 0.7811 GB, free: 8.051 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1351, allocations: 0 / 0.7811 GB, free: 8.051 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1352, allocations: 3.984 kB / 0.7811 GB, free: 8.047 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1352, allocations: 4 kB / 0.7811 GB, free: 8.043 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1352, allocations: 0 / 0.7811 GB, free: 8.043 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.1356, allocations: 205.3 kB / 0.7813 GB, free: 7.824 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.1356, allocations: 92.89 kB / 0.7814 GB, free: 7.715 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.1357, allocations: 7.938 kB / 0.7814 GB, free: 7.707 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.1358, allocations: 15.98 kB / 0.7814 GB, free: 7.691 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.1359, allocations: 19.97 kB / 0.7814 GB, free: 7.672 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.1359, allocations: 0 / 0.7814 GB, free: 7.672 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.901e-05/0.136, allocations: 114.2 kB / 0.7815 GB, free: 7.562 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.136, allocations: 0 / 0.7815 GB, free: 7.562 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.1362, allocations: 43.84 kB / 0.7816 GB, free: 7.52 MB / 458.7 MB 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: 1 * 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.0001492/0.1363, allocations: 123.2 kB / 0.7817 GB, free: 7.391 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004373/0.1368, allocations: 203.2 kB / 0.7819 GB, free: 7.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1368, allocations: 0 / 0.7819 GB, free: 7.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.137, allocations: 75.95 kB / 0.782 GB, free: 7.105 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.1372, allocations: 7.859 kB / 0.782 GB, free: 7.098 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.1377, allocations: 267 kB / 0.7822 GB, free: 6.801 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.1379, allocations: 0.7043 MB / 0.7829 GB, free: 6.07 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.075e-05/0.138, allocations: 11.98 kB / 0.7829 GB, free: 6.059 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.138, allocations: 11.44 kB / 0.7829 GB, free: 6.047 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.138, allocations: 4 kB / 0.7829 GB, free: 6.043 MB / 458.7 MB Notification: Performance of Templates: time 0.003275/0.1413, allocations: 1.262 MB / 0.7842 GB, free: 4.789 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)