Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.645/1.645, allocations: 292.6 MB / 307.8 MB, free: 7.141 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.001112/0.001112, allocations: 177.5 kB / 376.5 MB, free: 4.445 MB / 298.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.54/1.54, allocations: 225.7 MB / 0.655 GB, free: 13.16 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.0007235/0.0007235, allocations: 103.4 kB / 0.7711 GB, free: 50.43 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003606, allocations: 12 kB / 0.897 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6488/0.6492, allocations: 118.2 MB / 1.012 GB, free: 58.01 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001666/0.6509, allocations: 1.251 MB / 1.014 GB, free: 57.98 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008147/0.6518, allocations: 0.5437 MB / 1.014 GB, free: 57.92 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.6518, allocations: 0 / 1.014 GB, free: 57.92 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.91e-05/0.6519, allocations: 3.938 kB / 1.014 GB, free: 57.92 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.367e-05/0.652, allocations: 23.64 kB / 1.014 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.6523, allocations: 65.59 kB / 1.014 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.6525, allocations: 81.47 kB / 1.014 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.6526, allocations: 23.44 kB / 1.014 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.6527, allocations: 36.95 kB / 1.014 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.815e-05/0.6528, allocations: 38.72 kB / 1.014 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.6528, allocations: 5.5 kB / 1.014 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.6529, allocations: 49.64 kB / 1.014 GB, free: 57.87 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.129e-05/0.653, allocations: 18.06 kB / 1.014 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.432e-05/0.6531, allocations: 59.86 kB / 1.015 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.6532, allocations: 93.22 kB / 1.015 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.6532, allocations: 0.9062 kB / 1.015 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6532, allocations: 0 / 1.015 GB, free: 57.82 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.6533, allocations: 1.438 kB / 1.015 GB, free: 57.82 MB / 0.7136 GB 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.0007995/0.6541, allocations: 449.8 kB / 1.015 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.6541, allocations: 12.31 kB / 1.015 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.6542, allocations: 8.812 kB / 1.015 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.6544, allocations: 198.3 kB / 1.015 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.6544, allocations: 3.312 kB / 1.015 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.6544, allocations: 12.09 kB / 1.015 GB, free: 57.19 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.6547, allocations: 117.4 kB / 1.015 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.6547, allocations: 1.281 kB / 1.015 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.6548, allocations: 0 / 1.015 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.6548, allocations: 5.188 kB / 1.015 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.6551, allocations: 110.2 kB / 1.015 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.6557, allocations: 358.8 kB / 1.016 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.6561, allocations: 106.2 kB / 1.016 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.6563, allocations: 68.98 kB / 1.016 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.6563, allocations: 1.406 kB / 1.016 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003378/0.6566, allocations: 127.1 kB / 1.016 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.6566, allocations: 0 / 1.016 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.000654/0.6573, allocations: 239.5 kB / 1.016 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.6574, allocations: 59.05 kB / 1.016 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.6575, allocations: 141.7 kB / 1.017 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.6575, allocations: 31.83 kB / 1.017 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.6576, allocations: 101.8 kB / 1.017 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.6576, allocations: 26.52 kB / 1.017 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.6576, allocations: 0 / 1.017 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.021e-05/0.6577, allocations: 325.4 kB / 1.017 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.6579, allocations: 68.23 kB / 1.017 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.6581, allocations: 72.14 kB / 1.017 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.6584, allocations: 170.1 kB / 1.017 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6584, allocations: 0 / 1.017 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004218/0.6588, allocations: 213.6 kB / 1.018 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.6589, allocations: 33.58 kB / 1.018 GB, free: 56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.6589, allocations: 2.688 kB / 1.018 GB, free: 56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.6589, allocations: 0 / 1.018 GB, free: 56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.6591, allocations: 29.67 kB / 1.018 GB, free: 56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6591, allocations: 0 / 1.018 GB, free: 56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.6592, allocations: 27.75 kB / 1.018 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.6592, allocations: 2.562 kB / 1.018 GB, free: 55.99 MB / 0.7136 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: 1 * Algorithm blocks: 1 * 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 7.634e-05/0.6593, allocations: 127 kB / 1.018 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.6593, allocations: 10.23 kB / 1.018 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.423e-05/0.6594, allocations: 21.27 kB / 1.018 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.6594, allocations: 2.906 kB / 1.018 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.6594, allocations: 1.312 kB / 1.018 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6594, allocations: 0 / 1.018 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.6595, allocations: 196.8 kB / 1.018 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6596, allocations: 7.844 kB / 1.018 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.6597, allocations: 25 kB / 1.018 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.6597, allocations: 0 / 1.018 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.6597, allocations: 3.297 kB / 1.018 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.6597, allocations: 5.453 kB / 1.018 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6597, allocations: 0 / 1.018 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.6601, allocations: 203.4 kB / 1.018 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.6602, allocations: 89.83 kB / 1.018 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.6602, allocations: 6.125 kB / 1.018 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.6603, allocations: 14.12 kB / 1.018 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.6604, allocations: 17.03 kB / 1.018 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.6604, allocations: 6.125 kB / 1.018 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.644e-05/0.6605, allocations: 109.1 kB / 1.018 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.6605, allocations: 0.5625 kB / 1.018 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002306/0.6607, allocations: 45.17 kB / 1.018 GB, free: 55.39 MB / 0.7136 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: 1 * Algorithm blocks: 0 * 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.0001535/0.6609, allocations: 124.1 kB / 1.019 GB, free: 55.31 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004737/0.6613, allocations: 205.1 kB / 1.019 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6614, allocations: 0 / 1.019 GB, free: 55.24 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.6616, allocations: 76.23 kB / 1.019 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.6618, allocations: 12.73 kB / 1.019 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.6623, allocations: 257.9 kB / 1.019 GB, free: 55.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.6625, allocations: 0.6999 MB / 1.02 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.292e-05/0.6626, allocations: 14.64 kB / 1.02 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.6626, allocations: 14.19 kB / 1.02 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.6626, allocations: 3.938 kB / 1.02 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of Templates: time 0.003578/0.6662, allocations: 1.247 MB / 1.021 GB, free: 54.31 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)