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.001001/0.001001, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009499/0.0009499, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 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.9432/0.9432, allocations: 177.1 MB / 204.2 MB, free: 5.23 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.639/1.639, allocations: 359 MB / 0.6052 GB, free: 10.99 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 1.353e-06/1.353e-06, allocations: 0 / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.622e-05, allocations: 5.438 kB / 0.787 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001976/0.002003, allocations: 1.614 MB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008896/0.002892, allocations: 0.6172 MB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.24e-05/0.002945, allocations: 7.875 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.944e-05/0.003024, allocations: 5.5 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.674e-05/0.003071, allocations: 27.72 kB / 0.7893 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.003433, allocations: 107 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.003563, allocations: 103.6 kB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.363e-05/0.003637, allocations: 12.22 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.00378, allocations: 63.81 kB / 0.7895 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.768e-05/0.003837, allocations: 39.89 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.003853, allocations: 4 kB / 0.7896 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.003971, allocations: 99.83 kB / 0.7897 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.004006, allocations: 19.92 kB / 0.7897 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.004045, allocations: 24.8 kB / 0.7897 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.00422, allocations: 151.5 kB / 0.7899 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.004222, allocations: 4.594 kB / 0.7899 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.61e-07/0.004223, allocations: 0 / 0.7899 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.004226, allocations: 1.438 kB / 0.7899 GB, free: 9.645 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.000481/0.004707, allocations: 473.8 kB / 0.7903 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.666e-05/0.004734, allocations: 8.531 kB / 0.7903 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.004904, allocations: 34.31 kB / 0.7904 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.00517, allocations: 152.4 kB / 0.7905 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.005181, allocations: 4.375 kB / 0.7905 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.005192, allocations: 5.906 kB / 0.7905 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.005348, allocations: 82.91 kB / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.005355, allocations: 4.172 kB / 0.7906 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.005365, allocations: 0.875 kB / 0.7906 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.005386, allocations: 7.938 kB / 0.7906 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.856e-05/0.005434, allocations: 17.42 kB / 0.7906 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.005814, allocations: 331.5 kB / 0.7909 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.229e-05/0.005897, allocations: 43.64 kB / 0.791 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.005929, allocations: 17.62 kB / 0.791 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.00594, allocations: 4 kB / 0.791 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001065/0.006046, allocations: 84.95 kB / 0.7911 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.006048, allocations: 0 / 0.7911 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001897/0.006238, allocations: 89.56 kB / 0.7912 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.006265, allocations: 55.94 kB / 0.7912 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.429e-05/0.006359, allocations: 200.7 kB / 0.7914 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.006374, allocations: 26.42 kB / 0.7914 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.006428, allocations: 156.2 kB / 0.7916 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.006445, allocations: 27.75 kB / 0.7916 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.006485, allocations: 35.42 kB / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.006587, allocations: 0.4961 MB / 0.7921 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-05/0.006638, allocations: 46.31 kB / 0.7922 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.006676, allocations: 37.7 kB / 0.7922 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.208e-05/0.006748, allocations: 74.41 kB / 0.7923 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.00675, allocations: 0 / 0.7923 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001405/0.00689, allocations: 153.1 kB / 0.7924 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.006915, allocations: 40.16 kB / 0.7925 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.00692, allocations: 0 / 0.7925 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.497e-06/0.006929, allocations: 0.6875 kB / 0.7925 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.007008, allocations: 17.27 kB / 0.7925 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.007012, allocations: 0 / 0.7925 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.007067, allocations: 19.94 kB / 0.7925 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.007075, allocations: 4.5 kB / 0.7925 GB, free: 6.703 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 7.29e-05/0.007148, allocations: 165.5 kB / 0.7927 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.007165, allocations: 11.95 kB / 0.7927 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.007187, allocations: 17.67 kB / 0.7927 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.007197, allocations: 4 kB / 0.7927 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.0072, allocations: 0 / 0.7927 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.007203, allocations: 0.8438 kB / 0.7927 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.007306, allocations: 148.5 kB / 0.7928 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.007308, allocations: 2.188 kB / 0.7928 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.007348, allocations: 15.98 kB / 0.7929 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007349, allocations: 0 / 0.7929 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.007358, allocations: 7.984 kB / 0.7929 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.007359, allocations: 80 / 0.7929 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.007361, allocations: 3.984 kB / 0.7929 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.00749, allocations: 122.9 kB / 0.793 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.007503, allocations: 15.88 kB / 0.793 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.007521, allocations: 4 kB / 0.793 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.2e-05/0.007563, allocations: 7.984 kB / 0.793 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.007606, allocations: 11.98 kB / 0.793 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.007615, allocations: 7.984 kB / 0.793 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.007662, allocations: 142.5 kB / 0.7932 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007662, allocations: 4 kB / 0.7932 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001648/0.007826, allocations: 36 kB / 0.7932 GB, free: 5.934 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.0001217/0.007948, allocations: 119.7 kB / 0.7933 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001574/0.008105, allocations: 145.1 kB / 0.7935 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.008107, allocations: 1.094 kB / 0.7935 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.562e-05/0.008152, allocations: 31.61 kB / 0.7935 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.008304, allocations: 20.58 kB / 0.7935 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.008796, allocations: 215.5 kB / 0.7937 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.254e-05/0.008829, allocations: 65.58 kB / 0.7938 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.262e-05/0.008871, allocations: 11.98 kB / 0.7938 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.008907, allocations: 20.48 kB / 0.7938 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.008908, allocations: 0 / 0.7938 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of Templates: time 0.003435/0.01234, allocations: 1.602 MB / 0.7954 GB, free: 3.664 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.652552396059036]