Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.681/1.681, allocations: 255.9 MB / 271.2 MB, free: 8.875 MB / 218.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.0009931/0.0009931, allocations: 178.3 kB / 330.8 MB, free: 488 kB / 250.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.735/1.735, allocations: 225.7 MB / 0.6016 GB, free: 1.688 MB / 426.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.0008098/0.00081, allocations: 105.4 kB / 0.709 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.000372, allocations: 8.625 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2157, allocations: 109.2 MB / 0.9327 GB, free: 6.293 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001455/0.2172, allocations: 1.263 MB / 0.934 GB, free: 5.02 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0008467/0.2181, allocations: 0.7083 MB / 0.9347 GB, free: 4.27 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.2182, allocations: 0 / 0.9347 GB, free: 4.27 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 8.491e-05/0.2183, allocations: 11.92 kB / 0.9347 GB, free: 4.258 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 5.298e-05/0.2183, allocations: 7.875 kB / 0.9347 GB, free: 4.25 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.2186, allocations: 71.84 kB / 0.9348 GB, free: 4.18 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 9.707e-05/0.2187, allocations: 99.64 kB / 0.9349 GB, free: 4.082 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2189, allocations: 20.22 kB / 0.9349 GB, free: 4.059 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.648e-05/0.219, allocations: 35.84 kB / 0.9349 GB, free: 4.023 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.219, allocations: 39.83 kB / 0.9349 GB, free: 3.984 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.2191, allocations: 4 kB / 0.935 GB, free: 3.98 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-05/0.2192, allocations: 47.91 kB / 0.935 GB, free: 3.934 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 4.116e-05/0.2192, allocations: 19.91 kB / 0.935 GB, free: 3.914 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.2193, allocations: 61.5 kB / 0.9351 GB, free: 3.848 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.2194, allocations: 131.8 kB / 0.9352 GB, free: 3.719 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2195, allocations: 4 kB / 0.9352 GB, free: 3.715 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.715e-06/0.2195, allocations: 0 / 0.9352 GB, free: 3.715 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2195, allocations: 3.938 kB / 0.9352 GB, free: 3.711 MB / 0.573 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.0006585/0.2201, allocations: 448.8 kB / 0.9356 GB, free: 3.219 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2202, allocations: 11.98 kB / 0.9356 GB, free: 3.207 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.2202, allocations: 12.84 kB / 0.9357 GB, free: 3.195 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.2204, allocations: 192.2 kB / 0.9358 GB, free: 2.969 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.2204, allocations: 384 / 0.9358 GB, free: 2.969 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.2204, allocations: 8.375 kB / 0.9359 GB, free: 2.961 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.2207, allocations: 121.9 kB / 0.936 GB, free: 2.836 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.2208, allocations: 3.938 kB / 0.936 GB, free: 2.832 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.2208, allocations: 4 kB / 0.936 GB, free: 2.828 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.2208, allocations: 8 kB / 0.936 GB, free: 2.82 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.2211, allocations: 107.9 kB / 0.9361 GB, free: 2.715 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/0.2217, allocations: 360.6 kB / 0.9364 GB, free: 2.312 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.222, allocations: 114.4 kB / 0.9365 GB, free: 2.191 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.2221, allocations: 68.88 kB / 0.9366 GB, free: 2.121 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.2222, allocations: 4.078 kB / 0.9366 GB, free: 2.117 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003006/0.2225, allocations: 123.3 kB / 0.9367 GB, free: 1.984 MB / 0.573 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.2225, allocations: 0 / 0.9367 GB, free: 1.984 MB / 0.573 GB Notification: Performance of matching and sorting (n=9): time 0.0006454/0.2231, allocations: 233.4 kB / 0.9369 GB, free: 1.75 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.2232, allocations: 59.41 kB / 0.937 GB, free: 1.68 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.2233, allocations: 148.8 kB / 0.9371 GB, free: 1.527 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.2233, allocations: 29.7 kB / 0.9372 GB, free: 1.492 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.2234, allocations: 92.14 kB / 0.9373 GB, free: 1.398 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.2234, allocations: 31.55 kB / 0.9373 GB, free: 1.367 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/0.2234, allocations: 0 / 0.9373 GB, free: 1.367 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.2235, allocations: 326.8 kB / 0.9376 GB, free: 1.039 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.2236, allocations: 67.95 kB / 0.9377 GB, free: 0.9727 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.2238, allocations: 71.89 kB / 0.9377 GB, free: 0.9023 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.2241, allocations: 162.5 kB / 0.9379 GB, free: 0.7344 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2241, allocations: 0 / 0.9379 GB, free: 0.7344 MB / 0.573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003963/0.2245, allocations: 223.2 kB / 0.9381 GB, free: 0.5039 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.2246, allocations: 29.7 kB / 0.9381 GB, free: 480 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2246, allocations: 4 kB / 0.9381 GB, free: 476 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2246, allocations: 0 / 0.9381 GB, free: 476 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.2248, allocations: 31.91 kB / 0.9382 GB, free: 444 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.2248, allocations: 0 / 0.9382 GB, free: 444 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.2249, allocations: 19.92 kB / 0.9382 GB, free: 424 kB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.2249, allocations: 4 kB / 0.9382 GB, free: 420 kB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.091e-05/0.225, allocations: 134.9 kB / 0.9383 GB, free: 276 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.225, allocations: 11.81 kB / 0.9383 GB, free: 264 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.2251, allocations: 8.719 kB / 0.9383 GB, free: 256 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.2251, allocations: 4 kB / 0.9383 GB, free: 252 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2251, allocations: 7.922 kB / 0.9384 GB, free: 244 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2251, allocations: 0 / 0.9384 GB, free: 244 kB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.2252, allocations: 193.6 kB / 0.9385 GB, free: 0 / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2252, allocations: 0 / 0.9385 GB, free: 0 / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.2254, allocations: 27.97 kB / 0.9386 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2254, allocations: 0 / 0.9386 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.2254, allocations: 4 kB / 0.9386 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2254, allocations: 4 kB / 0.9386 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.2254, allocations: 0 / 0.9386 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.2259, allocations: 204.8 kB / 0.9388 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.143e-05/0.2259, allocations: 85.02 kB / 0.9388 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.226, allocations: 0 / 0.9388 GB, free: 15.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.2261, allocations: 31.91 kB / 0.9389 GB, free: 15.61 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.2262, allocations: 11.98 kB / 0.9389 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.2262, allocations: 0 / 0.9389 GB, free: 15.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.815e-05/0.2263, allocations: 107.2 kB / 0.939 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2263, allocations: 0 / 0.939 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002172/0.2265, allocations: 39.94 kB / 0.939 GB, free: 15.46 MB / 0.5886 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 (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.0001737/0.2267, allocations: 131.2 kB / 0.9392 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004765/0.2272, allocations: 199.3 kB / 0.9393 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2272, allocations: 4 kB / 0.9393 GB, free: 15.11 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.2274, allocations: 71.89 kB / 0.9394 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.2276, allocations: 15.89 kB / 0.9394 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00052/0.2281, allocations: 274.9 kB / 0.9397 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.2284, allocations: 0.6965 MB / 0.9404 GB, free: 14 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.1e-05/0.2285, allocations: 19.97 kB / 0.9404 GB, free: 13.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.2286, allocations: 11.44 kB / 0.9404 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of SimCode: time 3.7e-07/0.2286, allocations: 0 / 0.9404 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of Templates: time 0.003534/0.2321, allocations: 1.274 MB / 0.9416 GB, free: 12.7 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)