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.002368/0.002368, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002706/0.002706, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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 1.591/1.591, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 2.915/2.915, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",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.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 3.938 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3e-05, allocations: 5.125 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003032/0.003062, allocations: 1.589 MB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.004326, allocations: 0.6131 MB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.004383, allocations: 1.219 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.004485, allocations: 15.86 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.007e-05/0.004545, allocations: 16.44 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.00501, allocations: 120.9 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.005186, allocations: 99.62 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.984e-05/0.005265, allocations: 12.23 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.005453, allocations: 64.77 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.005533, allocations: 35.89 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.005562, allocations: 8 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.005727, allocations: 96.33 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.005772, allocations: 24.73 kB / 0.789 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.994e-05/0.005822, allocations: 23.91 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.006095, allocations: 168.4 kB / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.006099, allocations: 0 / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.456e-06/0.006107, allocations: 0 / 0.7891 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.006112, allocations: 4.594 kB / 0.7891 GB, free: 9.977 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.0007744/0.006886, allocations: 482.1 kB / 0.7896 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.006921, allocations: 9.688 kB / 0.7896 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002798/0.007201, allocations: 32.86 kB / 0.7896 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.007415, allocations: 146.3 kB / 0.7898 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.007432, allocations: 9.625 kB / 0.7898 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.007447, allocations: 4.375 kB / 0.7898 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.007696, allocations: 86.12 kB / 0.7899 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.007705, allocations: 1.781 kB / 0.7899 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.007719, allocations: 4.375 kB / 0.7899 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.007743, allocations: 7.938 kB / 0.7899 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.007986, allocations: 57.11 kB / 0.7899 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008927/0.008878, allocations: 334.8 kB / 0.7903 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.009209, allocations: 70.97 kB / 0.7903 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.009349, allocations: 43.66 kB / 0.7904 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.00937, allocations: 3.984 kB / 0.7904 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.009625, allocations: 101 kB / 0.7905 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.009627, allocations: 0 / 0.7905 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0005734/0.0102, allocations: 150.6 kB / 0.7906 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.01025, allocations: 56.05 kB / 0.7907 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.01043, allocations: 212.6 kB / 0.7909 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.01046, allocations: 29.7 kB / 0.7909 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.01057, allocations: 154.8 kB / 0.7911 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.0106, allocations: 28.41 kB / 0.7911 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.847e-05/0.01068, allocations: 43.34 kB / 0.7911 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002688/0.01095, allocations: 0.4936 MB / 0.7916 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.01113, allocations: 69.61 kB / 0.7917 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.01128, allocations: 66.83 kB / 0.7917 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.01156, allocations: 105.3 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01157, allocations: 1 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004443/0.01201, allocations: 194.7 kB / 0.792 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.01205, allocations: 29.7 kB / 0.792 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.01206, allocations: 4 kB / 0.7921 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.01207, allocations: 4 kB / 0.7921 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.01221, allocations: 18.17 kB / 0.7921 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.01221, allocations: 80 / 0.7921 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.01234, allocations: 27.81 kB / 0.7921 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.01236, allocations: 7.984 kB / 0.7921 GB, free: 6.711 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 0.0001317/0.01249, allocations: 164.5 kB / 0.7923 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.01252, allocations: 12.47 kB / 0.7923 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/0.01256, allocations: 20.22 kB / 0.7923 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.01257, allocations: 4 kB / 0.7923 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01257, allocations: 0 / 0.7923 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01258, allocations: 0 / 0.7923 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.01276, allocations: 160.5 kB / 0.7925 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01277, allocations: 0 / 0.7925 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.01288, allocations: 15.92 kB / 0.7925 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.01288, allocations: 4 kB / 0.7925 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01289, allocations: 0 / 0.7925 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01289, allocations: 0.5 kB / 0.7925 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.0129, allocations: 0 / 0.7925 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.01328, allocations: 157.3 kB / 0.7926 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.0133, allocations: 8.516 kB / 0.7926 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.01332, allocations: 3.938 kB / 0.7926 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.01343, allocations: 13.42 kB / 0.7926 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/0.01349, allocations: 15.97 kB / 0.7927 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.0135, allocations: 0 / 0.7927 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001208/0.01362, allocations: 162.2 kB / 0.7928 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01362, allocations: 1.688 kB / 0.7928 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002452/0.01387, allocations: 35.94 kB / 0.7929 GB, free: 5.895 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.0001929/0.01406, allocations: 119.2 kB / 0.793 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004426/0.01451, allocations: 189.5 kB / 0.7931 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01451, allocations: 0.8125 kB / 0.7931 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.01468, allocations: 47.67 kB / 0.7932 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.0149, allocations: 20.86 kB / 0.7932 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/0.01543, allocations: 216 kB / 0.7934 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.851e-05/0.01552, allocations: 86.31 kB / 0.7935 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.771e-05/0.01559, allocations: 14.27 kB / 0.7935 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.01564, allocations: 16.5 kB / 0.7935 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.01564, allocations: 0 / 0.7935 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of Templates: time 0.00489/0.02053, allocations: 1.511 MB / 0.795 GB, free: 3.641 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.889128710958175]