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.001025/0.001025, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001031/0.001031, allocations: 169.3 kB / 24.28 MB, free: 276 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.9763/0.9763, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.807/1.807, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] 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.994e-06/1.994e-06, allocations: 0 / 0.787 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.359e-05, allocations: 5.797 kB / 0.787 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002233/0.002267, allocations: 1.598 MB / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009229/0.00319, allocations: 0.6247 MB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.003263, allocations: 4.844 kB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.003373, allocations: 7.922 kB / 0.7892 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.534e-05/0.003418, allocations: 20.97 kB / 0.7893 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004378/0.003856, allocations: 108.9 kB / 0.7894 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001429/0.003999, allocations: 103.6 kB / 0.7895 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.753e-05/0.004096, allocations: 16.22 kB / 0.7895 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.004274, allocations: 65.94 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.004345, allocations: 39.88 kB / 0.7896 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.004365, allocations: 8 kB / 0.7896 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.004478, allocations: 91.84 kB / 0.7897 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.004526, allocations: 23.91 kB / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.00457, allocations: 30.02 kB / 0.7897 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.004774, allocations: 143.5 kB / 0.7899 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.004777, allocations: 0 / 0.7899 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004778, allocations: 0 / 0.7899 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.004783, allocations: 0 / 0.7899 GB, free: 9.961 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.0005493/0.005332, allocations: 479.3 kB / 0.7903 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.005371, allocations: 12.03 kB / 0.7903 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.005567, allocations: 40.86 kB / 0.7904 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.005742, allocations: 151.5 kB / 0.7905 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.005753, allocations: 384 / 0.7905 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.005767, allocations: 4.375 kB / 0.7905 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.005945, allocations: 84.66 kB / 0.7906 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.005952, allocations: 192 / 0.7906 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.005965, allocations: 8.359 kB / 0.7906 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/0.005995, allocations: 11.92 kB / 0.7906 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.955e-05/0.006044, allocations: 13 kB / 0.7906 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.006487, allocations: 323.6 kB / 0.7909 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.304e-05/0.00658, allocations: 35.59 kB / 0.791 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.006619, allocations: 29.61 kB / 0.791 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.006634, allocations: 0 / 0.791 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.006766, allocations: 84.89 kB / 0.7911 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.006767, allocations: 0 / 0.7911 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002088/0.006976, allocations: 93.56 kB / 0.7912 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.007012, allocations: 57.94 kB / 0.7912 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.007114, allocations: 195.4 kB / 0.7914 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.007132, allocations: 29.77 kB / 0.7914 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.0072, allocations: 154.8 kB / 0.7916 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.007224, allocations: 31.73 kB / 0.7916 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.007271, allocations: 31.36 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.007396, allocations: 0.4969 MB / 0.7921 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.768e-05/0.007454, allocations: 41.64 kB / 0.7922 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.758e-05/0.007491, allocations: 42.22 kB / 0.7922 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.159e-05/0.007573, allocations: 69.38 kB / 0.7923 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007575, allocations: 5.594 kB / 0.7923 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001578/0.007733, allocations: 145 kB / 0.7924 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.007764, allocations: 31.58 kB / 0.7924 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.007771, allocations: 0 / 0.7924 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.007783, allocations: 4.656 kB / 0.7925 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.007881, allocations: 17.08 kB / 0.7925 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.007886, allocations: 0 / 0.7925 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.655e-05/0.007943, allocations: 15.94 kB / 0.7925 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.007954, allocations: 9.234 kB / 0.7925 GB, free: 7.023 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 8.588e-05/0.008039, allocations: 168.4 kB / 0.7927 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.008057, allocations: 8.797 kB / 0.7927 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.008088, allocations: 16.78 kB / 0.7927 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.008103, allocations: 12.81 kB / 0.7927 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.008107, allocations: 3.938 kB / 0.7927 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.00811, allocations: 0 / 0.7927 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.008238, allocations: 149.8 kB / 0.7928 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.00824, allocations: 0 / 0.7928 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-05/0.008288, allocations: 11.98 kB / 0.7928 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.008291, allocations: 0.8438 kB / 0.7928 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.0083, allocations: 4 kB / 0.7929 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.008304, allocations: 4.922 kB / 0.7929 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.008307, allocations: 4 kB / 0.7929 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.008461, allocations: 125.8 kB / 0.793 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.008479, allocations: 15.88 kB / 0.793 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.0085, allocations: 0 / 0.793 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.587e-05/0.008546, allocations: 11.98 kB / 0.793 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.008598, allocations: 13.23 kB / 0.793 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.008606, allocations: 0 / 0.793 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.988e-05/0.008666, allocations: 149.2 kB / 0.7932 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008666, allocations: 3.094 kB / 0.7932 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000181/0.008847, allocations: 36 kB / 0.7932 GB, free: 6.246 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.000175/0.009022, allocations: 123.2 kB / 0.7933 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.009221, allocations: 136.8 kB / 0.7934 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.009223, allocations: 0 / 0.7934 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.728e-05/0.00929, allocations: 31.61 kB / 0.7935 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.009489, allocations: 24.36 kB / 0.7935 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000705/0.01019, allocations: 217.1 kB / 0.7937 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.236e-05/0.01024, allocations: 64 kB / 0.7938 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.847e-05/0.01029, allocations: 15.3 kB / 0.7938 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.01034, allocations: 12.5 kB / 0.7938 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/0.01034, allocations: 0 / 0.7938 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of Templates: time 0.003884/0.01423, allocations: 1.507 MB / 0.7953 GB, free: 4.078 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: 5.2234901380725205]