Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000953/0.000953, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009279/0.0009279, allocations: 181.3 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9156/0.9156, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.674/1.674, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sigRan.u.[0-9,]+.|sigRan.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sigRan.u.[0-9,]+.|sigRan.y.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.956e-06/2.956e-06, allocations: 4 kB / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.706e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001742/0.001759, allocations: 1.602 MB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007534/0.002513, allocations: 0.6218 MB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.993e-05/0.002573, allocations: 3.938 kB / 0.7897 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.677e-05/0.002659, allocations: 7.922 kB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.198e-05/0.002701, allocations: 25.14 kB / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.003029, allocations: 103.7 kB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.003144, allocations: 104.7 kB / 0.7899 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.003259, allocations: 12.23 kB / 0.7899 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.003394, allocations: 73.3 kB / 0.79 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.633e-05/0.00345, allocations: 31.95 kB / 0.79 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.003468, allocations: 8 kB / 0.79 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.003569, allocations: 95.78 kB / 0.7901 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.003606, allocations: 24.59 kB / 0.7901 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.003637, allocations: 27.92 kB / 0.7902 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.00379, allocations: 144.5 kB / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003792, allocations: 0 / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.41e-07/0.003792, allocations: 1.5 kB / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.003796, allocations: 0 / 0.7903 GB, free: 9.371 MB / 0.7448 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.0004407/0.004236, allocations: 477.8 kB / 0.7908 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.004268, allocations: 17.89 kB / 0.7908 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.004471, allocations: 28.88 kB / 0.7908 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.004593, allocations: 150.5 kB / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-06/0.0046, allocations: 10.62 kB / 0.791 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.00461, allocations: 4.375 kB / 0.791 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.00473, allocations: 78.91 kB / 0.791 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.004737, allocations: 4.188 kB / 0.7911 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.004744, allocations: 384 / 0.7911 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.004763, allocations: 11.92 kB / 0.7911 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.135e-05/0.004795, allocations: 12.61 kB / 0.7911 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.005098, allocations: 301.9 kB / 0.7914 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.965e-05/0.005158, allocations: 39.03 kB / 0.7914 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.005182, allocations: 19.75 kB / 0.7914 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.005192, allocations: 1.375 kB / 0.7914 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.254e-05/0.005285, allocations: 80.89 kB / 0.7915 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.005286, allocations: 0 / 0.7915 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001644/0.00545, allocations: 87.31 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.005475, allocations: 55.48 kB / 0.7916 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.035e-05/0.005555, allocations: 199.5 kB / 0.7918 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.005568, allocations: 25.7 kB / 0.7918 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.005624, allocations: 154.7 kB / 0.792 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.005642, allocations: 32.48 kB / 0.792 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.005679, allocations: 35.34 kB / 0.7921 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002307/0.00591, allocations: 0.493 MB / 0.7925 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.005945, allocations: 37.69 kB / 0.7926 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.776e-05/0.005972, allocations: 39.62 kB / 0.7926 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.043e-05/0.006033, allocations: 65.58 kB / 0.7927 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.006035, allocations: 7.875 kB / 0.7927 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001202/0.006155, allocations: 148.9 kB / 0.7928 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.006176, allocations: 29.7 kB / 0.7929 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.006181, allocations: 2.281 kB / 0.7929 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.116e-06/0.006189, allocations: 0 / 0.7929 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.006258, allocations: 23.98 kB / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-06/0.006261, allocations: 0 / 0.7929 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.199e-05/0.006313, allocations: 19.94 kB / 0.7929 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.00632, allocations: 0.7969 kB / 0.7929 GB, free: 6.492 MB / 0.7448 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 6.98e-05/0.00639, allocations: 173.4 kB / 0.7931 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.006405, allocations: 11.95 kB / 0.7931 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.006427, allocations: 10.44 kB / 0.7931 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.006436, allocations: 4 kB / 0.7931 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006438, allocations: 0 / 0.7931 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.006442, allocations: 3.984 kB / 0.7931 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.329e-05/0.006525, allocations: 125.8 kB / 0.7932 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.006526, allocations: 0 / 0.7932 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.006558, allocations: 13.3 kB / 0.7932 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.006562, allocations: 7.938 kB / 0.7932 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.006568, allocations: 0 / 0.7932 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.006569, allocations: 5.141 kB / 0.7932 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.006571, allocations: 3.984 kB / 0.7932 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.00668, allocations: 124.2 kB / 0.7934 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-06/0.00669, allocations: 16.67 kB / 0.7934 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.006705, allocations: 4 kB / 0.7934 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.908e-05/0.006744, allocations: 12.83 kB / 0.7934 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.00678, allocations: 7.984 kB / 0.7934 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.006788, allocations: 9.266 kB / 0.7934 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.006832, allocations: 141.2 kB / 0.7935 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006832, allocations: 0 / 0.7935 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001432/0.006975, allocations: 36 kB / 0.7936 GB, free: 5.75 MB / 0.7448 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.0001119/0.007087, allocations: 124.7 kB / 0.7937 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.007212, allocations: 128.7 kB / 0.7938 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.007213, allocations: 5.594 kB / 0.7938 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.058e-05/0.007253, allocations: 23.67 kB / 0.7939 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.007386, allocations: 29.72 kB / 0.7939 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.007803, allocations: 211 kB / 0.7941 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.139e-05/0.007835, allocations: 63.34 kB / 0.7941 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.641e-05/0.007871, allocations: 7.984 kB / 0.7941 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.98e-05/0.007941, allocations: 86.69 kB / 0.7942 GB, free: 5 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.007942, allocations: 1.5 kB / 0.7942 GB, free: 5 MB / 0.7448 GB Notification: Performance of Templates: time 0.003126/0.01107, allocations: 1.632 MB / 0.7958 GB, free: 3.402 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.693921804893762]